diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2021-04-28 13:11:16 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2021-04-28 13:22:17 +0200 |
commit | c9a73a8c6f2cee88102c720527b96865ada445d8 (patch) | |
tree | f37065e8a4adf424ad36bd22193bd4f336ea6e04 /dev-java | |
parent | sys-kernel/pf-sources: bump to 5.12-pf1 (diff) | |
download | gentoo-c9a73a8c6f2cee88102c720527b96865ada445d8.tar.gz gentoo-c9a73a8c6f2cee88102c720527b96865ada445d8.tar.bz2 gentoo-c9a73a8c6f2cee88102c720527b96865ada445d8.zip |
dev-java/jbitcollider-core: min java 1.8
Closes: https://bugs.gentoo.org/786399
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/20571
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/jbitcollider-core/jbitcollider-core-0.8-r1.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-java/jbitcollider-core/jbitcollider-core-0.8-r1.ebuild b/dev-java/jbitcollider-core/jbitcollider-core-0.8-r1.ebuild new file mode 100644 index 000000000000..2833386cb0d3 --- /dev/null +++ b/dev-java/jbitcollider-core/jbitcollider-core-0.8-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +JAVA_PKG_IUSE="doc source" + +MY_PN="jBitcollider" +MY_P="${MY_PN}-${PV}" +JAVA_SRC_DIR="plugins/org.bitpedia.collider.core/src" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Core classes of jBitcollider: org.bitpedia.collider.core" +HOMEPAGE="http://bitcollider.sourceforge.net/" +SRC_URI="mirror://sourceforge/project/bitcollider/jBitcollider%20%28Java%29/${PV}/${MY_P}.zip -> ${MY_P}.zip" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="amd64 x86" + +DEPEND=">=virtual/jdk-1.8:*" +RDEPEND=">=virtual/jre-1.8:*" +BDEPEND="app-arch/unzip" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + default + + rm -v lib/*.jar || die + rm -v plugins/*/lib/*.jar || die + rm -v plugins/org.bitpedia.collider.*/bin/org/bitpedia/collider/*/*.class || die + rm -v plugins/org.bitpedia.collider.core/bin/org/bitpedia/util/*.class || die + java-pkg-2_src_prepare +} |