From 705eeab98f844319311525f664e2c641aa1b4517 Mon Sep 17 00:00:00 2001 From: Adrian Almenar Date: Sun, 24 Aug 2003 03:19:45 +0000 Subject: Version Bump --- dev-java/xerces/Manifest | 4 +-- dev-java/xerces/files/digest-xerces-2.5.0 | 2 ++ dev-java/xerces/xerces-2.5.0.ebuild | 44 +++++++++++++++++++++++++++++++ 3 files changed, 48 insertions(+), 2 deletions(-) create mode 100644 dev-java/xerces/files/digest-xerces-2.5.0 create mode 100644 dev-java/xerces/xerces-2.5.0.ebuild (limited to 'dev-java') 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 +} -- cgit v1.2.3-65-gdbad