summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2006-07-22 23:10:19 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2006-07-22 23:10:19 +0000
commit7c458a859497aacc49e7e0a64354b61cba575d11 (patch)
tree633ad0405ade76f08ea1e50c9524d7d51d64c665 /dev-java/xml-commons
parentReplace arch with uname -m for Gentoo/FreeBSD compatibility. See bug #141422. (diff)
downloadgentoo-2-7c458a859497aacc49e7e0a64354b61cba575d11.tar.gz
gentoo-2-7c458a859497aacc49e7e0a64354b61cba575d11.tar.bz2
gentoo-2-7c458a859497aacc49e7e0a64354b61cba575d11.zip
Migrated to Generation 2.
(Portage version: 2.1.1_pre3-r3)
Diffstat (limited to 'dev-java/xml-commons')
-rw-r--r--dev-java/xml-commons/ChangeLog10
-rw-r--r--dev-java/xml-commons/files/digest-xml-commons-1.0_beta22
-rw-r--r--dev-java/xml-commons/files/digest-xml-commons-1.0_beta2-r13
-rw-r--r--dev-java/xml-commons/xml-commons-1.0_beta2-r1.ebuild54
4 files changed, 67 insertions, 2 deletions
diff --git a/dev-java/xml-commons/ChangeLog b/dev-java/xml-commons/ChangeLog
index 051a01b778c7..501f7c584344 100644
--- a/dev-java/xml-commons/ChangeLog
+++ b/dev-java/xml-commons/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/xml-commons
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/xml-commons/ChangeLog,v 1.12 2005/11/29 18:31:08 betelgeuse Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xml-commons/ChangeLog,v 1.13 2006/07/22 23:10:19 nelchael Exp $
+
+*xml-commons-1.0_beta2-r1 (22 Jul 2006)
+
+ 22 Jul 2006; Krzysiek Pawlik <nelchael@gentoo.org>
+ +xml-commons-1.0_beta2-r1.ebuild:
+ Migrated to Generation 2.
29 Nov 2005; Petteri Räty <betelgeuse@gentoo.org>
xml-commons-1.0_beta2.ebuild:
diff --git a/dev-java/xml-commons/files/digest-xml-commons-1.0_beta2 b/dev-java/xml-commons/files/digest-xml-commons-1.0_beta2
index c3f557fc91c2..86439ff51227 100644
--- a/dev-java/xml-commons/files/digest-xml-commons-1.0_beta2
+++ b/dev-java/xml-commons/files/digest-xml-commons-1.0_beta2
@@ -1 +1,3 @@
MD5 6c6551ece56948ee535d5f5014489b8d xml-commons-1.0.b2.tar.gz 1821110
+RMD160 eef68ff81875db60993ee09a5c7c034075f75426 xml-commons-1.0.b2.tar.gz 1821110
+SHA256 22b9e53919e4aa15fdd074a515c8a8dc9823a91d72eb91fbb3e1bd8cfc488375 xml-commons-1.0.b2.tar.gz 1821110
diff --git a/dev-java/xml-commons/files/digest-xml-commons-1.0_beta2-r1 b/dev-java/xml-commons/files/digest-xml-commons-1.0_beta2-r1
new file mode 100644
index 000000000000..86439ff51227
--- /dev/null
+++ b/dev-java/xml-commons/files/digest-xml-commons-1.0_beta2-r1
@@ -0,0 +1,3 @@
+MD5 6c6551ece56948ee535d5f5014489b8d xml-commons-1.0.b2.tar.gz 1821110
+RMD160 eef68ff81875db60993ee09a5c7c034075f75426 xml-commons-1.0.b2.tar.gz 1821110
+SHA256 22b9e53919e4aa15fdd074a515c8a8dc9823a91d72eb91fbb3e1bd8cfc488375 xml-commons-1.0.b2.tar.gz 1821110
diff --git a/dev-java/xml-commons/xml-commons-1.0_beta2-r1.ebuild b/dev-java/xml-commons/xml-commons-1.0_beta2-r1.ebuild
new file mode 100644
index 000000000000..488adddc6eca
--- /dev/null
+++ b/dev-java/xml-commons/xml-commons-1.0_beta2-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xml-commons/xml-commons-1.0_beta2-r1.ebuild,v 1.1 2006/07/22 23:10:19 nelchael Exp $
+
+inherit eutils java-pkg-2 java-ant-2
+
+MY_PV=${PV/_beta/.b}
+MY_P=${PN}-${MY_PV}
+DESCRIPTION="Jakarta project for for XML bindings for java"
+HOMEPAGE="http://xml.apache.org/commons/"
+SRC_URI="mirror://apache/xml/commons/${MY_P}.tar.gz"
+
+# Resolver is under Apache-1.1
+# SAX2 is public-domain
+# DOM documentation is under W3C-document
+# DOM software is under W3C
+# See ${S}/java/external for the license files
+LICENSE="Apache-1.1 public-domain W3C-document W3C"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc source"
+
+DEPEND=">=virtual/jdk-1.4
+ dev-java/ant-core
+ source? ( app-arch/zip )"
+RDEPEND=">=virtual/jre-1.4"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/${PV}-jdk15.patch
+}
+
+src_compile() {
+ local antflags="jar"
+ use doc && antflags="${antflags} javadocs"
+
+ cd ${S}/java
+ eant -f resolver.xml ${antflags} || die "XML-Resolver Compile failed"
+ eant -f which.xml ${antflags} || die "XML-Which Compile failed"
+}
+
+src_install() {
+ java-pkg_dojar java/build/which.jar
+ java-pkg_dojar java/build/resolver.jar
+ java-pkg_dojar java/external/build/xml-apis.jar
+
+ dodoc README.html
+ use doc && java-pkg_dohtml -r java/build/docs/*
+ use source && java-pkg_dosrc java/src/org
+}