summaryrefslogtreecommitdiff
blob: 26bbaf71e9ff920e8011df599bc83be29b95f11e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Inline-Java/Inline-Java-0.50.ebuild,v 1.9 2007/03/31 00:21:21 mcummings Exp $

inherit perl-module java-pkg-2

DESCRIPTION="Easy implimentaiton of Java extensions"
HOMEPAGE="http://search.cpan.org/~patl/"
SRC_URI="mirror://cpan/authors/id/P/PA/PATL/${P}.tar.gz"

LICENSE="Artistic"
#LICENSE="|| ( Artistic GPL-2 )"
SLOT="0"
KEYWORDS="x86"
IUSE=""

SRC_TEST="do"

DEPEND=">=dev-perl/Inline-0.44
	>=virtual/perl-Test-1.13
	>=virtual/jdk-1.4
	dev-lang/perl"

myconf="J2SDK=$JAVA_HOME"
mymake="java all"

pkg_setup() {
	java-pkg-2_pkg_setup
	perl-module_pkg_setup
}

src_compile() {
	java-pkg-2_src_compile
	perl-module_src_compile
}