1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 JAVA_PKG_IUSE="doc source"
9 inherit java-pkg-2 java-pkg-simple
11 DESCRIPTION="Yet another Java library for parsing and writing XML"
12 HOMEPAGE="http://dev2dev.bea.com/xml/stax.html"
13 SRC_URI="http://ftpna2.bea.com/pub/downloads/${PN}.jar"
15 LICENSE="bea.ri.jsr173"
17 KEYWORDS="~amd64 ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
20 CDEPEND="dev-java/jaxme:0"
32 JAVA_GENTOO_CLASSPATH="jaxme"
36 jar xvf "${DISTDIR}/${A}" || die "failed to unpack"
37 jar xvf "${P//-/_}_src.jar" || die "failed to unpack"
47 java-pkg-simple_src_compile