summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Nichols <nichoj@gentoo.org>2006-08-05 17:20:20 +0000
committerJoshua Nichols <nichoj@gentoo.org>2006-08-05 17:20:20 +0000
commit416c42c912ae4aa6411d9b4b7f6b720210b1dc89 (patch)
tree15dcc41f9fb5b9cfdbf1fdf9ff484221bc292c64 /dev-java/xmldb
parentRevision bump to support new Java system (diff)
downloadgentoo-2-416c42c912ae4aa6411d9b4b7f6b720210b1dc89.tar.gz
gentoo-2-416c42c912ae4aa6411d9b4b7f6b720210b1dc89.tar.bz2
gentoo-2-416c42c912ae4aa6411d9b4b7f6b720210b1dc89.zip
Revision bump to support new Java system
(Portage version: 2.1.1_pre4-r2)
Diffstat (limited to 'dev-java/xmldb')
-rw-r--r--dev-java/xmldb/ChangeLog7
-rw-r--r--dev-java/xmldb/files/digest-xmldb-20011111-r13
-rw-r--r--dev-java/xmldb/xmldb-20011111-r1.ebuild51
3 files changed, 60 insertions, 1 deletions
diff --git a/dev-java/xmldb/ChangeLog b/dev-java/xmldb/ChangeLog
index f550d30da795..cecdd5bbfe73 100644
--- a/dev-java/xmldb/ChangeLog
+++ b/dev-java/xmldb/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/xmldb
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/xmldb/ChangeLog,v 1.11 2006/04/27 15:25:38 marienz Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xmldb/ChangeLog,v 1.12 2006/08/05 17:20:20 nichoj Exp $
+
+*xmldb-20011111-r1 (05 Aug 2006)
+
+ 05 Aug 2006; Joshua Nichols <nichoj@gentoo.org> +xmldb-20011111-r1.ebuild:
+ Revision bump to support new Java system
27 Apr 2006; Marien Zwart <marienz@gentoo.org>
files/digest-xmldb-20011111, Manifest:
diff --git a/dev-java/xmldb/files/digest-xmldb-20011111-r1 b/dev-java/xmldb/files/digest-xmldb-20011111-r1
new file mode 100644
index 000000000000..4fe72d9a5007
--- /dev/null
+++ b/dev-java/xmldb/files/digest-xmldb-20011111-r1
@@ -0,0 +1,3 @@
+MD5 559bdc3a09ea2dd6cd914103631e7141 xmldb-api-11112001.tar.gz 36553
+RMD160 afa086d80b917d8801b195f399fe17a045dcdaad xmldb-api-11112001.tar.gz 36553
+SHA256 9bf195503b6ce45d17e1953041c125602bc69e3f6812a031055d26ca558d1006 xmldb-api-11112001.tar.gz 36553
diff --git a/dev-java/xmldb/xmldb-20011111-r1.ebuild b/dev-java/xmldb/xmldb-20011111-r1.ebuild
new file mode 100644
index 000000000000..1f151ca8681d
--- /dev/null
+++ b/dev-java/xmldb/xmldb-20011111-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xmldb/xmldb-20011111-r1.ebuild,v 1.1 2006/08/05 17:20:20 nichoj Exp $
+
+inherit java-pkg-2 eutils java-ant-2
+
+MY_PN="${PN}-api"
+MY_PV="11112001"
+MY_P="${MY_PN}-${MY_PV}"
+DESCRIPTION="Java implementation for specifications made by XML:DB."
+HOMEPAGE="http://sourceforge.net/projects/xmldb-org/"
+SRC_URI="mirror://sourceforge/xmldb-org/${MY_P}.tar.gz"
+
+LICENSE="Apache-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc source"
+
+# TODO please make compiling the junit tests optional
+DEPEND=">=virtual/jdk-1.4
+ source? ( app-arch/zip )
+ >=dev-java/xerces-2.6
+ >=dev-java/xalan-2.6
+ dev-java/ant-core
+ =dev-java/junit-3.8*"
+RDEPEND=">=virtual/jre-1.4"
+
+S="${WORKDIR}/${PN}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ rm *.jar
+ mkdir lib
+
+ epatch ${FILESDIR}/${P}-unreachable.patch
+
+ mkdir src && mv org src
+ cp ${FILESDIR}/build-${PV}.xml build.xml
+}
+
+src_compile() {
+ eant jar $(use_doc) -lib $(java-pkg_getjars xerces-2,xalan)
+}
+
+src_install() {
+ java-pkg_dojar dist/*.jar
+
+ use doc && java-pkg_dohtml -r dist/doc/api
+ use source && java-pkg_dosrc src/*
+}