summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2002-05-02 06:09:47 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2002-05-02 06:09:47 +0000
commita11641e02cb4a601757c4eebf587f774ca97141e (patch)
treeca40a76d5bf65f3a2698b86e99eb317dcc8ce929 /dev-java/xerces/xerces-2.0.1.ebuild
parentNew package (diff)
downloadgentoo-2-a11641e02cb4a601757c4eebf587f774ca97141e.tar.gz
gentoo-2-a11641e02cb4a601757c4eebf587f774ca97141e.tar.bz2
gentoo-2-a11641e02cb4a601757c4eebf587f774ca97141e.zip
new item
Diffstat (limited to 'dev-java/xerces/xerces-2.0.1.ebuild')
-rw-r--r--dev-java/xerces/xerces-2.0.1.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-java/xerces/xerces-2.0.1.ebuild b/dev-java/xerces/xerces-2.0.1.ebuild
new file mode 100644
index 000000000000..c5a571985e23
--- /dev/null
+++ b/dev-java/xerces/xerces-2.0.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author: Matthew Kennedy <mkennedy@gentoo.org>
+# Maintainer: Matthew Kennedy <mkennedy@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xerces/xerces-2.0.1.ebuild,v 1.1 2002/05/02 06:09:47 mkennedy Exp $
+
+S=${WORKDIR}/xerces-${PV//./_}
+DESCRIPTION="The next generation of high performance, fully compliant XML parsers in the Apache Xerces family"
+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"
+HOMEPAGE="http://xml.apache.org/xerces2-j/index.html"
+
+DEPEND="virtual/jdk-1.3"
+REDEPND=">=virtual/jdk-1.3"
+
+src_unpack() {
+ unpack ${A}
+ mv tools ${S}
+}
+
+src_compile() {
+ sh build.sh jars javadocs || die
+}
+
+src_install () {
+ dojar build/xerces*.jar
+ dodoc TODO STATUS README LICENSE ISSUES
+ dohtml Readme.html
+
+ dodir /usr/share/doc/${P}
+ cp -a samples ${D}/usr/share/doc/${P}
+ dohtml -r build/docs/javadocs
+}
+
+pkg_postinst() {
+ einfo ">>> Documentation can be found at http://xml.apache.org/xerces2-j/index.html"
+}