summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2004-09-17 13:59:34 +0000
committerThomas Matthijs <axxo@gentoo.org>2004-09-17 13:59:34 +0000
commitdc6dbb03a819e47537c65b0f651703d327e55412 (patch)
tree785e91921451be8322dd0c4b6a9f1e02e478c60c /dev-java/jaxen
parentgnome 2.8 commit, fix up older ebuilds (diff)
downloadhistorical-dc6dbb03a819e47537c65b0f651703d327e55412.tar.gz
historical-dc6dbb03a819e47537c65b0f651703d327e55412.tar.bz2
historical-dc6dbb03a819e47537c65b0f651703d327e55412.zip
initial import, ebuild created by me
Diffstat (limited to 'dev-java/jaxen')
-rw-r--r--dev-java/jaxen/ChangeLog10
-rw-r--r--dev-java/jaxen/Manifest5
-rw-r--r--dev-java/jaxen/files/MANIFEST.MF9
-rw-r--r--dev-java/jaxen/files/build.xml.patch27
-rw-r--r--dev-java/jaxen/files/digest-jaxen-1.01
-rw-r--r--dev-java/jaxen/jaxen-1.0.ebuild54
-rw-r--r--dev-java/jaxen/metadata.xml5
7 files changed, 111 insertions, 0 deletions
diff --git a/dev-java/jaxen/ChangeLog b/dev-java/jaxen/ChangeLog
new file mode 100644
index 000000000000..053fd53cad84
--- /dev/null
+++ b/dev-java/jaxen/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/jaxen
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxen/ChangeLog,v 1.1 2004/09/17 13:59:30 axxo Exp $
+
+*jaxen-1.0 (17 Sep 2004)
+
+ 17 Sep 2004; Thomas Matthijs <axxo@gentoo.org> +metadata.xml,
+ +files/MANIFEST.MF, +files/build.xml.patch, +jaxen-1.0.ebuild:
+ initial import, ebuild created by me
+
diff --git a/dev-java/jaxen/Manifest b/dev-java/jaxen/Manifest
new file mode 100644
index 000000000000..068c67a0ad60
--- /dev/null
+++ b/dev-java/jaxen/Manifest
@@ -0,0 +1,5 @@
+MD5 6630f24d939a9388bbc968811fdf9cad jaxen-1.0.ebuild 1169
+MD5 123cf9440c1d4ac78f2caba1624765f9 metadata.xml 158
+MD5 16edfe03c1dcf95c79b4b815c1b273da files/digest-jaxen-1.0 66
+MD5 316a481f610ecae9085418b487d1fe1b files/build.xml.patch 1018
+MD5 18b53511f075c771c0b69c5bc0b65dba files/MANIFEST.MF 307
diff --git a/dev-java/jaxen/files/MANIFEST.MF b/dev-java/jaxen/files/MANIFEST.MF
new file mode 100644
index 000000000000..092f5ec461df
--- /dev/null
+++ b/dev-java/jaxen/files/MANIFEST.MF
@@ -0,0 +1,9 @@
+Manifest-Version: 1.0
+Extension-Name: org.jaxen
+Specification-Title: jaxen
+Specification-Version: 1.0 FCS
+Specification-Vendor: bob mcwhirter & James Strachan.
+Created-By: Ant 1.4.1
+Implementation-Vendor: bob mcwhirter & James Strachan.
+Implementation-Version: 1.0 FCS
+Implementation-Title: jaxen
diff --git a/dev-java/jaxen/files/build.xml.patch b/dev-java/jaxen/files/build.xml.patch
new file mode 100644
index 000000000000..76ea997ba5fc
--- /dev/null
+++ b/dev-java/jaxen/files/build.xml.patch
@@ -0,0 +1,27 @@
+--- build.xml 2002-04-26 20:08:20.000000000 +0200
++++ build.xml 2004-09-17 15:29:55.363150376 +0200
+@@ -236,6 +236,7 @@
+ optimize="${optimize}"
+ deprecation="${deprecation}">
+ <src path="${build.src.main}"/>
++ <classpath location="${lib.dir}/saxpath.jar"/>
+ <patternset refid="jaxen.${object.model}"/>
+ </javac>
+ </target>
+@@ -248,6 +249,8 @@
+ <src path="${build.src.test}"/>
+ <classpath path="${build.dest.test}"/>
+ <classpath path="${build.dest.main}"/>
++ <classpath location="${lib.dir}/saxpath.jar"/>
++ <classpath location="${lib.dir}/dom4j.jar"/>
+ <patternset refid="jaxen.${object.model}"/>
+ </javac>
+ </target>
+@@ -281,6 +284,7 @@
+ <classpath>
+ <pathelement location="${build.dest.main}" />
+ <pathelement location="${build.dest.test}" />
++ <pathelement location="${lib.dir}/saxpath.jar" />
+ <pathelement path="${java.class.path}" />
+ </classpath>
+
diff --git a/dev-java/jaxen/files/digest-jaxen-1.0 b/dev-java/jaxen/files/digest-jaxen-1.0
new file mode 100644
index 000000000000..e9236c60c789
--- /dev/null
+++ b/dev-java/jaxen/files/digest-jaxen-1.0
@@ -0,0 +1 @@
+MD5 c0baf972b669579aff40ca7fdb9a90d0 jaxen-1.0-FCS.tar.gz 3195819
diff --git a/dev-java/jaxen/jaxen-1.0.ebuild b/dev-java/jaxen/jaxen-1.0.ebuild
new file mode 100644
index 000000000000..ec1fb099ca2b
--- /dev/null
+++ b/dev-java/jaxen/jaxen-1.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxen/jaxen-1.0.ebuild,v 1.1 2004/09/17 13:59:30 axxo Exp $
+
+inherit java-pkg eutils
+
+DESCRIPTION="A Java XPath Engine"
+HOMEPAGE="http://jaxen.org/"
+SRC_URI="mirror://sourceforge/jaxen/${P}-FCS.tar.gz"
+LICENSE="jaxen"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc"
+IUSE="doc junit"
+DEPEND="dev-java/ant
+ junit? ( dev-java/junit )
+ dev-java/xalan
+ >=dev-java/xerces-2.6.2-r1
+ =dev-java/dom4j-1*
+ dev-java/jdom
+ dev-java/saxpath"
+#RDEPEND=""
+
+S=${WORKDIR}/${P}-FCS
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/build.xml.patch
+ mkdir src/conf
+ cp ${FILESDIR}/MANIFEST.MF src/conf
+ rm -f *.jar
+ cd ${S}/lib
+ rm -f ant-1.3.jar jakarta-ant-1.3-optional.jar junit.jar xerces.jar dom4j-core.jar
+
+ java-pkg_jar-from saxpath
+ java-pkg_jar-from xalan
+ java-pkg_jar-from xerces-2
+ java-pkg_jar-from jdom
+ java-pkg_jar-from dom4j-1
+ use junit && java-pkg_jar-from junit
+}
+
+src_compile() {
+ local antops="package"
+ use doc && antops="${antops} doc javadoc"
+ use junit && antops="${antops} test.core"
+ ant ${antops} || die "compile failed"
+}
+
+src_install() {
+ java-pkg_dojar build/jaxen-full.jar
+
+ use doc && dohtml -r build/doc/*
+}
diff --git a/dev-java/jaxen/metadata.xml b/dev-java/jaxen/metadata.xml
new file mode 100644
index 000000000000..7303cef96964
--- /dev/null
+++ b/dev-java/jaxen/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+</pkgmetadata>