blob: 38b4f41adae368c6883480f4702c9d7e36bb61d2 (
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
36
|
# 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.8 2007/03/30 20:09:17 mcummings Exp $
inherit perl-module
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-java/java-config
dev-lang/perl"
myconf="J2SDK=$JAVA_HOME"
mymake="java all"
pkg_setup() {
if [ $(java-config -O | grep jdk ) ]; then
true
else
eerror "Please use java-config -S to set your system vm to a JDK"
die "Active VM is not a JDK"
fi
}
|