summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2007-05-01 18:52:49 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2007-05-01 18:52:49 +0000
commite9364084dd350c19b04960b70e9519164d2f764b (patch)
tree62445173efe21f93962a468fe004b44bae2e24af /dev-java/stax-ex
parentFixed src_test. bug #176683 Thanks Thomas A. <gentoofan23@gmail.com> for repo... (diff)
downloadhistorical-e9364084dd350c19b04960b70e9519164d2f764b.tar.gz
historical-e9364084dd350c19b04960b70e9519164d2f764b.tar.bz2
historical-e9364084dd350c19b04960b70e9519164d2f764b.zip
Initial commit of stax-ex.
Package-Manager: portage-2.1.2.5
Diffstat (limited to 'dev-java/stax-ex')
-rw-r--r--dev-java/stax-ex/ChangeLog10
-rw-r--r--dev-java/stax-ex/files/build.xml-1.017
-rw-r--r--dev-java/stax-ex/files/digest-stax-ex-1.03
-rw-r--r--dev-java/stax-ex/metadata.xml8
-rw-r--r--dev-java/stax-ex/stax-ex-1.0.ebuild48
5 files changed, 86 insertions, 0 deletions
diff --git a/dev-java/stax-ex/ChangeLog b/dev-java/stax-ex/ChangeLog
new file mode 100644
index 000000000000..1724ef603b15
--- /dev/null
+++ b/dev-java/stax-ex/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/stax-ex
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/stax-ex/ChangeLog,v 1.1 2007/05/01 18:52:49 nelchael Exp $
+
+*stax-ex-1.0 (01 May 2007)
+
+ 01 May 2007; Krzysiek Pawlik <nelchael@gentoo.org> +files/build.xml-1.0,
+ +metadata.xml, +stax-ex-1.0.ebuild:
+ Initial commit of stax-ex.
+
diff --git a/dev-java/stax-ex/files/build.xml-1.0 b/dev-java/stax-ex/files/build.xml-1.0
new file mode 100644
index 000000000000..d69c84d82636
--- /dev/null
+++ b/dev-java/stax-ex/files/build.xml-1.0
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+<project name="stax-ex" default="jar" basedir=".">
+ <target name="compile">
+ <mkdir dir="build"/>
+ <javac debug="false" srcdir="src" destdir="build" encoding="UTF-8">
+ <classpath>
+ <pathelement path="${classpath}"/>
+ <fileset dir="lib/" includes="**/*.jar"/>
+ </classpath>
+ </javac>
+ </target>
+ <target name="jar" depends="compile">
+ <jar destfile="stax-ex.jar">
+ <fileset dir="build" includes="**/*.class"/>
+ </jar>
+ </target>
+</project>
diff --git a/dev-java/stax-ex/files/digest-stax-ex-1.0 b/dev-java/stax-ex/files/digest-stax-ex-1.0
new file mode 100644
index 000000000000..bc9b40a18223
--- /dev/null
+++ b/dev-java/stax-ex/files/digest-stax-ex-1.0
@@ -0,0 +1,3 @@
+MD5 75e77a89d55b644cbd9cb7085d6d65ea stax-ex-1.0-src.tar.gz 15446
+RMD160 c0749941d96292ac567dbe6c16d136af67474720 stax-ex-1.0-src.tar.gz 15446
+SHA256 c737665a8ead77f440ad439319a6c6bc6bfdaaa6a15022721731d2b8268889f9 stax-ex-1.0-src.tar.gz 15446
diff --git a/dev-java/stax-ex/metadata.xml b/dev-java/stax-ex/metadata.xml
new file mode 100644
index 000000000000..39fffcd80808
--- /dev/null
+++ b/dev-java/stax-ex/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+ <maintainer>
+ <email>nelchael@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-java/stax-ex/stax-ex-1.0.ebuild b/dev-java/stax-ex/stax-ex-1.0.ebuild
new file mode 100644
index 000000000000..60c7c59e0d43
--- /dev/null
+++ b/dev-java/stax-ex/stax-ex-1.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/stax-ex/stax-ex-1.0.ebuild,v 1.1 2007/05/01 18:52:49 nelchael Exp $
+
+JAVA_PKG_IUSE="source"
+
+inherit java-pkg-2 java-ant-2 eutils
+
+DESCRIPTION="Extensions to complement JSR-173 StAX API"
+HOMEPAGE="http://stax-ex.dev.java.net/"
+SRC_URI="https://stax-ex.dev.java.net/files/documents/4480/44372/${P}-src.tar.gz"
+
+LICENSE="CDDL"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+IUSE=""
+
+COMMON_DEPEND="dev-java/sun-jaf
+ dev-java/jsr173"
+RDEPEND=">=virtual/jre-1.5
+ ${COMMON_DEPEND}"
+DEPEND=">=virtual/jdk-1.5
+ ${COMMON_DEPEND}"
+
+src_unpack() {
+
+ unpack ${A}
+
+ cd "${S}"
+ # build.xml is from maven-1 and tries to download jars to /root/.maven/
+ rm -f build.xml || die
+ cp "${FILESDIR}/build.xml-${PV}" build.xml || die
+
+ mkdir "${S}/lib" || die
+ cd "${S}/lib"
+ java-pkg_jar-from sun-jaf
+ java-pkg_jar-from jsr173
+
+}
+
+src_install() {
+
+ java-pkg_dojar "stax-ex.jar"
+
+ use source && java-pkg_dosrc src/java/*
+
+}