diff options
author | Karl Trygve Kalleberg <karltk@gentoo.org> | 2004-05-05 20:10:50 +0000 |
---|---|---|
committer | Karl Trygve Kalleberg <karltk@gentoo.org> | 2004-05-05 20:10:50 +0000 |
commit | 719793e57b7557922a5c651ef4f0d2eb383df0f3 (patch) | |
tree | 6f918a432a1a13c315e9ee3dde931a3ac95c4c1e /dev-java | |
parent | Fixes incorrect SLOTing (Manifest recommit) (diff) | |
download | gentoo-2-719793e57b7557922a5c651ef4f0d2eb383df0f3.tar.gz gentoo-2-719793e57b7557922a5c651ef4f0d2eb383df0f3.tar.bz2 gentoo-2-719793e57b7557922a5c651ef4f0d2eb383df0f3.zip |
Fixed SLOTing
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/xerces/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/xerces/files/digest-xerces-2.6.2-r1 | 2 | ||||
-rw-r--r-- | dev-java/xerces/xerces-2.6.2-r1.ebuild | 65 |
3 files changed, 73 insertions, 1 deletions
diff --git a/dev-java/xerces/ChangeLog b/dev-java/xerces/ChangeLog index de5b1338c38a..833354ba96fe 100644 --- a/dev-java/xerces/ChangeLog +++ b/dev-java/xerces/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/xerces # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/xerces/ChangeLog,v 1.20 2004/05/03 22:02:32 zx Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/xerces/ChangeLog,v 1.21 2004/05/05 20:10:50 karltk Exp $ + +*xerces-2.6.2-r1 (05 May 2004) + + 05 May 2004; Karl Trygve Kalleberg <karltk@gentoo.org> xerces-2.6.2-r1.ebuild + files/digest-xerces-2.6.2-r1: Added SLOT=2. 08 May 2004; Chris Aniszczyk <zx@gentoo.org> xerces-2.6.2.ebuild: Marking stable on x86 diff --git a/dev-java/xerces/files/digest-xerces-2.6.2-r1 b/dev-java/xerces/files/digest-xerces-2.6.2-r1 new file mode 100644 index 000000000000..b5e5d1ef4711 --- /dev/null +++ b/dev-java/xerces/files/digest-xerces-2.6.2-r1 @@ -0,0 +1,2 @@ +MD5 cfd536b8d72f8ebe3465ae35f5e3775d Xerces-J-src.2.6.2.tar.gz 1612086 +MD5 55ba4b71ae95acf7d50c4bc0d796ee76 Xerces-J-tools.2.6.2.tar.gz 3713041 diff --git a/dev-java/xerces/xerces-2.6.2-r1.ebuild b/dev-java/xerces/xerces-2.6.2-r1.ebuild new file mode 100644 index 000000000000..8933b22d2cb8 --- /dev/null +++ b/dev-java/xerces/xerces-2.6.2-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/xerces/xerces-2.6.2-r1.ebuild,v 1.1 2004/05/05 20:10:50 karltk Exp $ + +inherit java-pkg eutils + +IUSE="doc" + +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="mirror://apache/xml/xerces-j/Xerces-J-src.${PV}.tar.gz + mirror://apache/xml/xerces-j/Xerces-J-tools.${PV}.tar.gz" + +LICENSE="Apache-1.1" +SLOT="2" +KEYWORDS="~x86 ~ppc ~sparc ~amd64" + +DEPEND=">=dev-java/ant-1.5.2" +RDEPEND=">=virtual/jdk-1.3" + +src_unpack() { + unpack ${A} + mv tools ${S} +} + +src_compile() { + addpredict /dev/random + 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 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 +} + +pkg_postinst() { + if [ -n "`use doc`" ] ; then + einfo " " + einfo " API Documentation is in /usr/share/doc/${PN}-${PV}. " + einfo " " + einfo " Online Documentation: " + einfo " http://xml.apache.org/xerces2-j/api.html " + einfo " " + sleep 5 + else + einfo " " + einfo " Online Documentation: " + einfo " http://xml.apache.org/xerces2-j/api.html " + einfo " " + sleep 5 + fi +} + |