From c37dd49d641159aee3c000f47d63d945a2428dd4 Mon Sep 17 00:00:00 2001 From: "Volkmar W. Pogatzki" Date: Mon, 15 Mar 2021 11:22:40 +0100 Subject: dev-java/java-dep-check: EAPI 7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Volkmar W. Pogatzki Closes: https://github.com/gentoo/gentoo/pull/19937 Signed-off-by: Miroslav Ć ulc --- .../java-dep-check/java-dep-check-0.4-r1.ebuild | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 dev-java/java-dep-check/java-dep-check-0.4-r1.ebuild (limited to 'dev-java/java-dep-check') diff --git a/dev-java/java-dep-check/java-dep-check-0.4-r1.ebuild b/dev-java/java-dep-check/java-dep-check-0.4-r1.ebuild new file mode 100644 index 000000000000..eb7e53a80eee --- /dev/null +++ b/dev-java/java-dep-check/java-dep-check-0.4-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 2016-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 +} -- cgit v1.2.3-65-gdbad