dev-java/stax-ex: Removes java-virtual/stax-api dependency and fixes bug 561504.
authorPatrice Clement <monsieurp@gentoo.org>
Tue, 29 Sep 2015 07:37:18 +0000 (07:37 +0000)
committerPatrice Clement <monsieurp@gentoo.org>
Tue, 29 Sep 2015 07:57:01 +0000 (07:57 +0000)
Package-Manager: portage-2.2.18
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
dev-java/stax-ex/stax-ex-1.0-r4.ebuild [new file with mode: 0644]

diff --git a/dev-java/stax-ex/stax-ex-1.0-r4.ebuild b/dev-java/stax-ex/stax-ex-1.0-r4.ebuild
new file mode 100644 (file)
index 0000000..59df93d
--- /dev/null
@@ -0,0 +1,33 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Extensions to complement JSR-173 StAX API"
+HOMEPAGE="http://stax-ex.java.net/"
+SRC_URI="https://stax-ex.java.net/files/documents/4480/44372/${P}-src.tar.gz"
+
+LICENSE="CDDL"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+
+IUSE=""
+
+CDEPENDEND="java-virtuals/jaf:0"
+RDEPEND=">=virtual/jre-1.6
+       ${CDEPENDEND}"
+DEPEND=">=virtual/jdk-1.6
+       ${CDEPENDEND}"
+
+JAVA_GENTOO_CLASSPATH="jaf"
+
+S="${WORKDIR}/${P}"
+
+src_prepare() {
+       rm "${S}"/build.xml || die
+}