summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Almenar <strider@gentoo.org>2003-08-24 03:19:45 +0000
committerAdrian Almenar <strider@gentoo.org>2003-08-24 03:19:45 +0000
commit705eeab98f844319311525f664e2c641aa1b4517 (patch)
tree2a746b6e5486688fb4c78721284eeaf4a2f2fcce /dev-java
parentVersion Bump (diff)
downloadhistorical-705eeab98f844319311525f664e2c641aa1b4517.tar.gz
historical-705eeab98f844319311525f664e2c641aa1b4517.tar.bz2
historical-705eeab98f844319311525f664e2c641aa1b4517.zip
Version Bump
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/xerces/Manifest4
-rw-r--r--dev-java/xerces/files/digest-xerces-2.5.02
-rw-r--r--dev-java/xerces/xerces-2.5.0.ebuild44
3 files changed, 48 insertions, 2 deletions
diff --git a/dev-java/xerces/Manifest b/dev-java/xerces/Manifest
index 99442722aa0e..60c8b9301817 100644
--- a/dev-java/xerces/Manifest
+++ b/dev-java/xerces/Manifest
@@ -1,7 +1,7 @@
MD5 96825c3cdb70ddbc61a28ada3f77ab01 xerces-2.3.0.ebuild 971
MD5 98ed03864d2a8df86f893984d24ac93a xerces-2.3.0-r1.ebuild 1219
-MD5 ffa21c9c5a6cc43190f6e6234d2e2e4d xerces-2.5.0.ebuild 1221
-MD5 6959daa48ed6f5ffad5b8e4a520a2ce6 ChangeLog 2029
+MD5 2f8adc66bab83a2fb8d2e3837557f680 xerces-2.5.0.ebuild 1185
+MD5 50a0e0e6b1535f838c207676f87115f8 ChangeLog 2173
MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
MD5 0ed5652de5f404a3fefb774b2b1a8538 files/digest-xerces-2.3.0-r1 144
MD5 0aecf5f2232e04fb4067f5f67b41d810 files/xerces-2.3.0-gentoo.diff 1418
diff --git a/dev-java/xerces/files/digest-xerces-2.5.0 b/dev-java/xerces/files/digest-xerces-2.5.0
new file mode 100644
index 000000000000..a701465cba4e
--- /dev/null
+++ b/dev-java/xerces/files/digest-xerces-2.5.0
@@ -0,0 +1,2 @@
+MD5 7e43e4a1e8ac92131758490ab998d524 Xerces-J-src.2.5.0.tar.gz 1490467
+MD5 ce5b921b6c4e0e4d3b14a30b9296c7cd Xerces-J-tools.2.5.0.tar.gz 3655338
diff --git a/dev-java/xerces/xerces-2.5.0.ebuild b/dev-java/xerces/xerces-2.5.0.ebuild
new file mode 100644
index 000000000000..385b37c86ce4
--- /dev/null
+++ b/dev-java/xerces/xerces-2.5.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xerces/xerces-2.5.0.ebuild,v 1.1 2003/08/24 03:19:40 strider Exp $
+
+inherit java-pkg eutils
+
+S=${WORKDIR}/xerces-${PV//./_}
+DESCRIPTION="The next generation of high performance, fully compliant XML parsers in the Apache Xerces family"
+HOMEPAGE="http://xml.apache.org/xerces2-j/index.html"
+SRC_URI="http://xml.apache.org/dist/xerces-j/Xerces-J-src.${PV}.tar.gz
+ http://xml.apache.org/dist/xerces-j/Xerces-J-tools.${PV}.tar.gz"
+
+LICENSE="Apache-1.1"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha"
+IUSE="doc"
+
+DEPEND=">=dev-java/ant-1.5.2"
+RDEPEND=">=virtual/jdk-1.3"
+
+src_unpack() {
+ unpack ${A}
+ mv tools ${S}
+}
+
+src_compile() {
+ if [ -n "`use doc`" ] ; then
+ sh build.sh jars sampjar javadocs || die "Compile failed."
+ else
+ sh build.sh jars sampjar || die "Compile failed."
+ fi
+}
+
+src_install() {
+ java-pkg_dojar build/x*.jar
+ dodoc TODO STATUS README LICENSE ISSUES
+ dohtml Readme.html
+
+ if [ -n "`use doc`" ] ; then
+ dodir /usr/share/doc/${P}
+ cp -a samples ${D}/usr/share/doc/${P}
+ dohtml -r build/docs/javadocs
+ fi
+}