From 94583c40eaf6029c0f5b53b82a9f62f903dbee0c Mon Sep 17 00:00:00 2001 From: Miroslav Šulc Date: Fri, 12 Mar 2021 11:22:54 +0100 Subject: dev-java/xsdlib: min jdk/jre 1.8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Miroslav Šulc --- dev-java/xsdlib/xsdlib-20090415-r1.ebuild | 53 +++++++++++++++++++++++++++++++ dev-java/xsdlib/xsdlib-20090415.ebuild | 53 ------------------------------- 2 files changed, 53 insertions(+), 53 deletions(-) create mode 100644 dev-java/xsdlib/xsdlib-20090415-r1.ebuild delete mode 100644 dev-java/xsdlib/xsdlib-20090415.ebuild (limited to 'dev-java/xsdlib') diff --git a/dev-java/xsdlib/xsdlib-20090415-r1.ebuild b/dev-java/xsdlib/xsdlib-20090415-r1.ebuild new file mode 100644 index 000000000000..58537f49874b --- /dev/null +++ b/dev-java/xsdlib/xsdlib-20090415-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Sun XML Datatypes Library" +HOMEPAGE="http://msv.java.net/" +SRC_URI="http://java.net/downloads/msv/releases/${PN}.${PV}.zip" + +LICENSE="BSD Apache-1.1" +SLOT="0" +KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" + +COMMON_DEP=" + dev-java/xerces:2 + dev-java/relaxng-datatype:0" +BDEPEND="app-arch/unzip" +RDEPEND="${COMMON_DEP} + >=virtual/jre-1.8:*" +DEPEND="${COMMON_DEP} + >=virtual/jdk-1.8:*" + +S="${WORKDIR}/${P}" + +JAVA_SRC_DIR=( "src" "src-apache" ) +JAVA_GENTOO_CLASSPATH="relaxng-datatype,xerces-2" + +src_prepare() { + default + find -name '*.jar' -delete || die +} + +src_compile() { + java-pkg-simple_src_compile + + local dir; for dir in "${JAVA_SRC_DIR[@]}"; do + pushd ${dir} > /dev/null || die + jar -uf "${S}"/${PN}.jar $(find -name '*.properties') || die + popd > /dev/null || die + done +} + +src_install() { + java-pkg-simple_src_install + + dodoc README.txt + docinto html + dodoc HowToUse.html +} diff --git a/dev-java/xsdlib/xsdlib-20090415.ebuild b/dev-java/xsdlib/xsdlib-20090415.ebuild deleted file mode 100644 index 8628881c0abd..000000000000 --- a/dev-java/xsdlib/xsdlib-20090415.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="Sun XML Datatypes Library" -HOMEPAGE="http://msv.java.net/" -SRC_URI="http://java.net/downloads/msv/releases/${PN}.${PV}.zip" - -LICENSE="BSD Apache-1.1" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" - -COMMON_DEP=" - dev-java/xerces:2 - dev-java/relaxng-datatype:0" -BDEPEND="app-arch/unzip" -RDEPEND="${COMMON_DEP} - >=virtual/jre-1.4" -DEPEND="${COMMON_DEP} - >=virtual/jdk-1.4" - -S="${WORKDIR}/${P}" - -JAVA_SRC_DIR=( "src" "src-apache" ) -JAVA_GENTOO_CLASSPATH="relaxng-datatype,xerces-2" - -src_prepare() { - default - find -name '*.jar' -delete || die -} - -src_compile() { - java-pkg-simple_src_compile - - local dir; for dir in "${JAVA_SRC_DIR[@]}"; do - pushd ${dir} > /dev/null || die - jar -uf "${S}"/${PN}.jar $(find -name '*.properties') || die - popd > /dev/null || die - done -} - -src_install() { - java-pkg-simple_src_install - - dodoc README.txt - docinto html - dodoc HowToUse.html -} -- cgit v1.2.3-65-gdbad