summaryrefslogtreecommitdiff
path: root/dev-java/java-dep-check/java-dep-check-0.4.ebuild
diff options
context:
space:
mode:
authorWilliam L. Thomson Jr <wlt@o-sinc.com>2016-09-13 15:50:26 -0400
committerJames Le Cuirot <chewi@gentoo.org>2016-10-18 20:51:06 +0100
commitebff34c8840ea64f3aacf9ee0a9f14cf782b4311 (patch)
tree81f204c90982cf4477df0c1828ac28e37485e6b0 /dev-java/java-dep-check/java-dep-check-0.4.ebuild
parent09ef09a802836b4c51f91851cf6e72397edfe212 (diff)
downloadgentoo-ebff34c8840ea64f3aacf9ee0a9f14cf782b4311.tar.gz
gentoo-ebff34c8840ea64f3aacf9ee0a9f14cf782b4311.tar.bz2
gentoo-ebff34c8840ea64f3aacf9ee0a9f14cf782b4311.zip
dev-java/java-dep-check: Major Changes see list
1. Added initial Java docs, could use more inline comments on function 2. Switched to Lambda expressions and Streams were possible 3. Updated to use asm 5 from asm 3 4. Changed how initial package.env is loaded, via props vs parsing lines 5. Preffixed global class variables with m for member of class TODO 1. Another block calling external java-config -p should use package.env Needs to support preffix, to load other packages package.env thus use of java-config -p for now. 2. May need to refactor how this package is laid out, file names, etc Package-Manager: portage-2.3.0 Closes: https://github.com/gentoo/gentoo/pull/2323 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'dev-java/java-dep-check/java-dep-check-0.4.ebuild')
-rw-r--r--dev-java/java-dep-check/java-dep-check-0.4.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-java/java-dep-check/java-dep-check-0.4.ebuild b/dev-java/java-dep-check/java-dep-check-0.4.ebuild
new file mode 100644
index 000000000000..c79e89639d53
--- /dev/null
+++ b/dev-java/java-dep-check/java-dep-check-0.4.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Java Dependency checker"
+HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Java"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+COMMON_DEP="
+ dev-java/commons-cli:1
+ dev-java/asm:4"
+RDEPEND=">=virtual/jre-1.8
+ ${COMMON_DEP}"
+DEPEND=">=virtual/jdk-1.8
+ ${COMMON_DEP}"
+
+JAVA_GENTOO_CLASSPATH="asm-4,commons-cli-1"
+
+src_unpack() {
+ cp "${FILESDIR}/Main-${PV}.java" Main.java || die
+}
+
+src_install() {
+ java-pkg-simple_src_install
+ java-pkg_dolauncher ${PN} --main javadepchecker.Main
+}