summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2016-03-30 13:25:51 +0000
committerPatrice Clement <monsieurp@gentoo.org>2016-03-30 13:27:48 +0000
commitc7661d266c71fc88cfe42394add3f6f2e71ce05f (patch)
treead7f45cafdba9aeccdaee2e5284b8461b60f31d6 /dev-java
parentdev-java/sac: Add source USE flag to DEPEND. (diff)
downloadgentoo-c7661d266c71fc88cfe42394add3f6f2e71ce05f.tar.gz
gentoo-c7661d266c71fc88cfe42394add3f6f2e71ce05f.tar.bz2
gentoo-c7661d266c71fc88cfe42394add3f6f2e71ce05f.zip
dev-java/sjsxp: Switch to java-pkg-simple.
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/sjsxp/sjsxp-1.0.1-r3.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-java/sjsxp/sjsxp-1.0.1-r3.ebuild b/dev-java/sjsxp/sjsxp-1.0.1-r3.ebuild
new file mode 100644
index 00000000000..80cba9f6da7
--- /dev/null
+++ b/dev-java/sjsxp/sjsxp-1.0.1-r3.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 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="Sun Java Streaming XML Parser"
+HOMEPAGE="http://sjsxp.dev.java.net/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="bea.ri.jsr173"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+IUSE=""
+
+CDEPEND="dev-java/xpp3:0"
+
+RDEPEND="
+ ${CDEPEND}
+ >=virtual/jre-1.6"
+
+DEPEND="
+ ${CDEPEND}
+ >=virtual/jdk-1.6
+ source? ( app-arch/zip )"
+
+S="${WORKDIR}/zephyr"
+
+JAVA_GENTOO_CLASSPATH="xpp3"
+JAVA_SRC_DIR="src"
+
+java_prepare() {
+ java-pkg_clean
+ rm -rv tests || die
+}