summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/stax2-api/ChangeLog11
-rw-r--r--dev-java/stax2-api/metadata.xml6
-rw-r--r--dev-java/stax2-api/stax2-api-4.0.0.ebuild33
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-java/stax2-api/ChangeLog b/dev-java/stax2-api/ChangeLog
new file mode 100644
index 000000000000..3de8bc4595c5
--- /dev/null
+++ b/dev-java/stax2-api/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-java/stax2-api
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/stax2-api/ChangeLog,v 1.1 2015/03/05 22:51:53 chewi Exp $
+
+*stax2-api-4.0.0 (05 Mar 2015)
+
+ 05 Mar 2015; James Le Cuirot <chewi@gentoo.org> +metadata.xml,
+ +stax2-api-4.0.0.ebuild:
+ Initial import. Required by wstx-4 and more. Used to be packaged together with
+ wstx but upstream indicates some degree of separation. Some packages require
+ it on its own.
diff --git a/dev-java/stax2-api/metadata.xml b/dev-java/stax2-api/metadata.xml
new file mode 100644
index 000000000000..0dfa49d9c816
--- /dev/null
+++ b/dev-java/stax2-api/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+ <longdescription>Stax2 API is an extension to standard Stax API ("STandard Api for Xml procesing"), pull-parser API of JDK, added in JDK 6.</longdescription>
+</pkgmetadata>
diff --git a/dev-java/stax2-api/stax2-api-4.0.0.ebuild b/dev-java/stax2-api/stax2-api-4.0.0.ebuild
new file mode 100644
index 000000000000..37ff8ca59128
--- /dev/null
+++ b/dev-java/stax2-api/stax2-api-4.0.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/stax2-api/stax2-api-4.0.0.ebuild,v 1.1 2015/03/05 22:51:53 chewi Exp $
+
+EAPI=5
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Extended Stax (STandard Api for Xml procesing) API"
+HOMEPAGE="https://github.com/FasterXML/stax2-api"
+SRC_URI="https://github.com/FasterXML/${PN}/archive/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="java-virtuals/stax-api:0
+ >=virtual/jre-1.5"
+
+DEPEND="java-virtuals/stax-api:0
+ >=virtual/jdk-1.5"
+
+S="${WORKDIR}/${PN}-${P}/src"
+JAVA_SRC_DIR="main/java"
+JAVA_GENTOO_CLASSPATH="stax-api"
+
+src_install() {
+ java-pkg-simple_src_install
+ dodoc ../README.md ../release-notes/VERSION
+}