diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2022-02-18 09:55:21 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2022-02-18 09:55:21 +0100 |
commit | 21930ecbf9e93640adb4880137870c2d9092080d (patch) | |
tree | fa05d32af9c9fadc228083a59a89c289262de9e8 /dev-java/jgoodies-common | |
parent | dev-java/jcalendar: min java 1.8:* (diff) | |
download | gentoo-21930ecbf9e93640adb4880137870c2d9092080d.tar.gz gentoo-21930ecbf9e93640adb4880137870c2d9092080d.tar.bz2 gentoo-21930ecbf9e93640adb4880137870c2d9092080d.zip |
dev-java/jgoodies: eapi8, min java 1.8
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/jgoodies-common')
-rw-r--r-- | dev-java/jgoodies-common/jgoodies-common-1.8.0-r1.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-java/jgoodies-common/jgoodies-common-1.8.0-r1.ebuild b/dev-java/jgoodies-common/jgoodies-common-1.8.0-r1.ebuild new file mode 100644 index 000000000000..6dec2f805f29 --- /dev/null +++ b/dev-java/jgoodies-common/jgoodies-common-1.8.0-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +MY_PN="common" +MY_PV=${PV//./_} +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="JGoodies Common Library" +HOMEPAGE="http://www.jgoodies.com/" +SRC_URI="http://www.jgoodies.com/download/libraries/${MY_PN}/${MY_P}.zip" + +LICENSE="BSD" +SLOT="1.8" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="" + +RESTRICT="test" + +RDEPEND=">=virtual/jre-1.8:*" + +DEPEND=" + app-arch/unzip + >=virtual/jdk-1.8:*" + +S="${WORKDIR}"/${P} + +JAVA_SRC_DIR="src" + +src_prepare() { + default + mkdir src || die + unzip ${P}-sources.jar -d src || die + rm "${S}"/pom.xml "${S}"/*.jar || die +} |