summaryrefslogtreecommitdiff
blob: 017c40dfea7ef4ddf6b35e7f6754334fee82c980 (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.52.ebuild,v 1.4 2007/04/09 15:28:35 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="amd64 ~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
}