gentoo/dev-java/java-dep-check/java-dep-check-0.4.ebuild
William L. Thomson Jr ebff34c884
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>
2016-10-18 20:51:06 +01:00

33 lines
649 B
Bash

# 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
}