diff options
Diffstat (limited to 'dev-java/jsr173')
-rw-r--r-- | dev-java/jsr173/Manifest | 3 | ||||
-rw-r--r-- | dev-java/jsr173/jsr173-1.0-r4.ebuild | 44 | ||||
-rw-r--r-- | dev-java/jsr173/metadata.xml | 8 |
3 files changed, 55 insertions, 0 deletions
diff --git a/dev-java/jsr173/Manifest b/dev-java/jsr173/Manifest new file mode 100644 index 000000000000..1c45135dc1ca --- /dev/null +++ b/dev-java/jsr173/Manifest @@ -0,0 +1,3 @@ +DIST jsr173.jar 639734 BLAKE2B f34caff27d216303d14050c78c3a4413685e843b9a5aacb228c38c57c50a009b691bff889ebc970097f998ba93b3a0737256c3b8a19f9df3529d238b43f71538 SHA512 8b299532716682772e5eeafb63a5dd125dec8954a9a284f6766bac05409fff611724ae1a9b6f4f6f303b64c12b19e394371a6b0a87132b36e88f94e20b69efe4 +EBUILD jsr173-1.0-r4.ebuild 897 BLAKE2B 2310785a3d07ae50fba866c48e479ca8ba6b233150d1fbe92d1608e931b28f231f441f45a5a9e10333a09563c9204af7d09f873a09fa06cb3acbbbe03d546802 SHA512 87c2fe1796027e64fee8868625fa85762f6a8f1480bfd19282fda9c9ec0ab0f500a4057663b50f3dedb88821d7a9840917e891b6b04003a32b0e81b730e50769 +MISC metadata.xml 236 BLAKE2B 5a64c4404c26415501f50132968e687d4f1b852738cb0e1a5aef8cc4de9e4ea623066f46068fce3d80514ff122d85304e3fd12282c4b1513a4084523ef8bef07 SHA512 1755c2590e59060f697294c5ad125b83f2d50e05a71f7091b7de75953941914cd2db3a893bd6154a2c90fa4aff5e313e75e3e174dbba1edd5c112787da5be253 diff --git a/dev-java/jsr173/jsr173-1.0-r4.ebuild b/dev-java/jsr173/jsr173-1.0-r4.ebuild new file mode 100644 index 000000000000..332838833908 --- /dev/null +++ b/dev-java/jsr173/jsr173-1.0-r4.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Yet another Java library for parsing and writing XML" +HOMEPAGE="http://dev2dev.bea.com/xml/stax.html" +SRC_URI="http://ftpna2.bea.com/pub/downloads/${PN}.jar" + +LICENSE="bea.ri.jsr173" +SLOT="0" +KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" + +RDEPEND=" + ${CDEPEND} + >=virtual/jre-1.6" + +DEPEND=" + ${CDEPEND} + >=virtual/jdk-1.6" + +S="${WORKDIR}" + +DOCS=( README.txt jsr173_1.0.pdf ) + +src_unpack() { + cd "${S}" || die + jar xvf "${DISTDIR}/${A}" || die "failed to unpack" + jar xvf "${P//-/_}_src.jar" || die "failed to unpack" +} + +src_prepare() { + default + java-pkg_clean +} + +src_install() { + java-pkg-simple_src_install + use doc && einstalldocs +} diff --git a/dev-java/jsr173/metadata.xml b/dev-java/jsr173/metadata.xml new file mode 100644 index 000000000000..952a4b9b605c --- /dev/null +++ b/dev-java/jsr173/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> + </maintainer> +</pkgmetadata> |