diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2008-10-05 10:36:19 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2008-10-05 10:36:19 +0000 |
commit | d732e7edc3329ce23f693722aa7c6f50b39873d1 (patch) | |
tree | 44ea7aea5bc180293c114220dc58cd66e87a463e /dev-java/java-dep-check/java-dep-check-0.2.ebuild | |
parent | Add missing findlib dep, thanks Patrick, bug #239607 (diff) | |
download | historical-d732e7edc3329ce23f693722aa7c6f50b39873d1.tar.gz historical-d732e7edc3329ce23f693722aa7c6f50b39873d1.tar.bz2 historical-d732e7edc3329ce23f693722aa7c6f50b39873d1.zip |
Fully asm based, doesn't report virtuals with VM providers and handles directory entries in package.env CLASSPATHs.
Package-Manager: portage-2.2_rc11/cvs/Linux 2.6.26-gentoo-r1 i686
Diffstat (limited to 'dev-java/java-dep-check/java-dep-check-0.2.ebuild')
-rw-r--r-- | dev-java/java-dep-check/java-dep-check-0.2.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-java/java-dep-check/java-dep-check-0.2.ebuild b/dev-java/java-dep-check/java-dep-check-0.2.ebuild new file mode 100644 index 000000000000..b3447840833d --- /dev/null +++ b/dev-java/java-dep-check/java-dep-check-0.2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/java-dep-check/java-dep-check-0.2.ebuild,v 1.1 2008/10/05 10:36:19 betelgeuse Exp $ + +EAPI=1 + +inherit java-pkg-2 + +DESCRIPTION="Java Dependency checker" +HOMEPAGE="http://www.gentoo.org/proj/en/java" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="" + +COMMON_DEP=" + dev-java/commons-cli:1 + dev-java/asm:3" +RDEPEND=">=virtual/jre-1.5 + ${COMMON_DEP}" +DEPEND=">=virtual/jdk-1.5 + ${COMMON_DEP}" + +S="${WORKDIR}" + +src_unpack() { + cp "${FILESDIR}/Main-${PV}.java" Main.java || die +} +src_compile() { + ejavac -cp $(java-pkg_getjars asm-3,commons-cli-1) -encoding UTF-8 -d . Main.java + jar cf ${PN}.jar javadepchecker/*.class || die "jar failed" +} + +src_install() { + java-pkg_dojar ${PN}.jar + java-pkg_dolauncher ${PN} --main javadepchecker.Main +} |