summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2008-07-18 22:06:05 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2008-07-18 22:06:05 +0000
commit8d3c0d96f9f22407ce55997d72edc7273d0743a6 (patch)
tree791cf582364871e832b02b81cc4f5af97bd07662 /dev-java/java-dep-check/java-dep-check-0.1.ebuild
parentzlib support wasn't being built so the jzlib dependency was useless. Now it's... (diff)
downloadgentoo-2-8d3c0d96f9f22407ce55997d72edc7273d0743a6.tar.gz
gentoo-2-8d3c0d96f9f22407ce55997d72edc7273d0743a6.tar.bz2
gentoo-2-8d3c0d96f9f22407ce55997d72edc7273d0743a6.zip
Initial addition. Ebuild and Java code written by me.
(Portage version: 2.2_rc1/cvs/Linux 2.6.25-gentoo-r5 i686)
Diffstat (limited to 'dev-java/java-dep-check/java-dep-check-0.1.ebuild')
-rw-r--r--dev-java/java-dep-check/java-dep-check-0.1.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-java/java-dep-check/java-dep-check-0.1.ebuild b/dev-java/java-dep-check/java-dep-check-0.1.ebuild
new file mode 100644
index 000000000000..e4b520eacdab
--- /dev/null
+++ b/dev-java/java-dep-check/java-dep-check-0.1.ebuild
@@ -0,0 +1,36 @@
+# 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.1.ebuild,v 1.1 2008/07/18 22:06:04 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="~x86"
+
+IUSE=""
+
+COMMON_DEP="
+ dev-java/bcel:0
+ dev-java/commons-cli:1"
+RDEPEND=">=virtual/jre-1.5
+ ${COMMON_DEP}"
+DEPEND=">=virtual/jdk-1.5
+ ${COMMON_DEP}"
+
+src_compile() {
+ ejavac -cp $(java-pkg_getjars bcel,commons-cli-1) -encoding UTF-8 -d . \
+ "${FILESDIR}/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
+}