summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2004-11-14 18:52:42 +0000
committerThomas Matthijs <axxo@gentoo.org>2004-11-14 18:52:42 +0000
commitccc1669364e73b8c299266c485c25d2fca9b1341 (patch)
treed7a4d5cb270e5076e2c39bfd643b07e08bf614be /dev-java/xp
parentffix digest (diff)
downloadgentoo-2-ccc1669364e73b8c299266c485c25d2fca9b1341.tar.gz
gentoo-2-ccc1669364e73b8c299266c485c25d2fca9b1341.tar.bz2
gentoo-2-ccc1669364e73b8c299266c485c25d2fca9b1341.zip
initial import, submitted by Jan Brinkmann <lucky@the-luckyduck.de>
Diffstat (limited to 'dev-java/xp')
-rw-r--r--dev-java/xp/ChangeLog10
-rw-r--r--dev-java/xp/Manifest3
-rw-r--r--dev-java/xp/files/build.xml12
-rw-r--r--dev-java/xp/files/digest-xp-0.51
-rw-r--r--dev-java/xp/metadata.xml5
-rw-r--r--dev-java/xp/xp-0.5.ebuild38
6 files changed, 69 insertions, 0 deletions
diff --git a/dev-java/xp/ChangeLog b/dev-java/xp/ChangeLog
new file mode 100644
index 000000000000..fa9ce23adf4f
--- /dev/null
+++ b/dev-java/xp/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/xp
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xp/ChangeLog,v 1.1 2004/11/14 18:52:41 axxo Exp $
+
+*xp-0.5 (14 Nov 2004)
+
+ 14 Nov 2004; Thomas Matthijs <axxo@gentoo.org> +files/build.xml,
+ +xp-0.5.ebuild:
+ initial import, submitted by Jan Brinkmann <lucky@the-luckyduck.de>
+
diff --git a/dev-java/xp/Manifest b/dev-java/xp/Manifest
new file mode 100644
index 000000000000..94696e8fb8ad
--- /dev/null
+++ b/dev-java/xp/Manifest
@@ -0,0 +1,3 @@
+MD5 da859536eab6ec12a0fe35bd0c2f3b56 xp-0.5.ebuild 767
+MD5 701928b1843f8fe8e09f1bd0cad592f9 files/build.xml 261
+MD5 8916e9562bce7da7fba0ac70c20d0360 files/digest-xp-0.5 51
diff --git a/dev-java/xp/files/build.xml b/dev-java/xp/files/build.xml
new file mode 100644
index 000000000000..cea20e923774
--- /dev/null
+++ b/dev-java/xp/files/build.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+
+<project name="xp" default="jar">
+ <target name="compile">
+ <mkdir dir="build" />
+ <javac srcdir="." destdir="build" />
+ </target>
+
+ <target name="jar" depends="compile">
+ <jar jarfile="xp.jar" basedir="build" />
+ </target>
+</project>
diff --git a/dev-java/xp/files/digest-xp-0.5 b/dev-java/xp/files/digest-xp-0.5
new file mode 100644
index 000000000000..c75364010ce2
--- /dev/null
+++ b/dev-java/xp/files/digest-xp-0.5
@@ -0,0 +1 @@
+MD5 e4a2371d5bad54eefa7287ebc62e2f1a xp.zip 281324
diff --git a/dev-java/xp/metadata.xml b/dev-java/xp/metadata.xml
new file mode 100644
index 000000000000..7303cef96964
--- /dev/null
+++ b/dev-java/xp/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>
diff --git a/dev-java/xp/xp-0.5.ebuild b/dev-java/xp/xp-0.5.ebuild
new file mode 100644
index 000000000000..6718f35d6a20
--- /dev/null
+++ b/dev-java/xp/xp-0.5.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xp/xp-0.5.ebuild,v 1.1 2004/11/14 18:52:41 axxo Exp $
+
+inherit java-pkg
+
+DESCRIPTION="XP is an XML 1.0 parser written in Java"
+HOMEPAGE="http://www.jclark.com/xml/xp"
+SRC_URI="ftp://ftp.jclark.com/pub/xml/xp.zip"
+LICENSE="JamesClark"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+
+IUSE="jikes doc"
+
+DEPEND=">=virtual/jdk-1.4
+ jikes? (>=dev-java/jikes-1.19 )"
+RDEPEND=">=virtual/jre-1.4"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack ${A}
+ rm -f xp.jar
+ cp ${FILESDIR}/build.xml .
+}
+
+src_compile() {
+ antflags="jar"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ ant ${antflags} || die "failed to build"
+}
+
+src_install() {
+ java-pkg_dojar xp.jar
+ dodoc docs/copying.txt
+ use doc && java-pkg_dohtml -r docs/*
+}