From 0b1beea2fb3a4a5b3ae4372cac7e60223d789fc5 Mon Sep 17 00:00:00 2001
From: Joshua Nichols <nichoj@gentoo.org>
Date: Tue, 22 Nov 2005 04:02:37 +0000
Subject: Version bump to 0.9.9 (bug #111845). Package-Manager:
 portage-2.0.51.22-r3

---
 dev-java/castor/Manifest                  | 12 +----
 dev-java/castor/castor-0.9.9.ebuild       | 73 +++++++++++++++++++++++++++++++
 dev-java/castor/files/digest-castor-0.9.9 |  1 +
 3 files changed, 76 insertions(+), 10 deletions(-)
 create mode 100644 dev-java/castor/castor-0.9.9.ebuild
 create mode 100644 dev-java/castor/files/digest-castor-0.9.9

diff --git a/dev-java/castor/Manifest b/dev-java/castor/Manifest
index e4ac2e477547..78fc1b53008b 100644
--- a/dev-java/castor/Manifest
+++ b/dev-java/castor/Manifest
@@ -1,18 +1,10 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
 MD5 a60f8a28c39620e66f235ba6479a35b5 castor-0.9.5.3-r1.ebuild 1866
 MD5 33760acddb1652153ce36f9bdd79022c castor-0.9.7.ebuild 1976
 MD5 86972bfdcd4c91007064a34498975826 ChangeLog 2075
 MD5 774373e19c9c08854e8d705a1756afbb metadata.xml 416
+MD5 8679f3d40ee357ecfe7a42598af89925 castor-0.9.9.ebuild 1972
 MD5 a07a47cbd64524563caccf7a0f649553 files/0.9.5.3-jikes.patch 1316
 MD5 21050c5d30ff492f6d2bedc47492a19c files/digest-castor-0.9.7 66
+MD5 86020e5854d4b9773ab371ceef4dce12 files/digest-castor-0.9.9 66
 MD5 925da383ab0658b27587273d0f315f06 files/build-xml.patch 2859
 MD5 943c414729ed76f67dc46a6373bd6094 files/digest-castor-0.9.5.3-r1 68
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDQDKDQiJ/wx066S4RAsqhAJ9RHt6ZkTDNUQ5E9lItHBllpmeinQCeLCgx
-3PN5R9CzLrO+ywgdmcgaISM=
-=RRVd
------END PGP SIGNATURE-----
diff --git a/dev-java/castor/castor-0.9.9.ebuild b/dev-java/castor/castor-0.9.9.ebuild
new file mode 100644
index 000000000000..c209843a7574
--- /dev/null
+++ b/dev-java/castor/castor-0.9.9.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/castor/castor-0.9.9.ebuild,v 1.1 2005/11/22 04:02:37 nichoj Exp $
+
+inherit eutils java-pkg
+
+DESCRIPTION="Data binding framework for Java"
+SRC_URI="http://dist.codehaus.org/${PN}/${PV}/${P}-src.tgz"
+HOMEPAGE="http://www.castor.org"
+LICENSE="Exolab"
+KEYWORDS="~amd64 ~x86"
+SLOT="0.9"
+IUSE="doc jikes postgres source"
+
+RDEPEND=">=virtual/jre-1.4
+	>=dev-java/adaptx-0.9.5.3
+	>=dev-java/commons-logging-1.0.4
+	=dev-java/jakarta-oro-2.0*
+	=dev-java/jakarta-regexp-1.3*
+	>=dev-java/ldapsdk-4.1.7
+	>=dev-java/junit-3.8
+	>=dev-java/log4j-1.2.8
+	=dev-java/servletapi-2.3*
+	=dev-java/xerces-1.3*
+	=dev-java/cglib-2.0*
+	postgres? ( =dev-java/jdbc2-postgresql-7.3* )"
+
+DEPEND=">=virtual/jdk-1.4
+	>=dev-java/ant-core-1.5
+	${RDEPEND}"
+
+src_unpack() {
+	unpack ${A}
+
+	cd ${S}
+	# TODO this should be filed upstream
+	epatch ${FILESDIR}/0.9.5.3-jikes.patch
+
+	cd ${S}/src
+	#This patch is taken care of by axxo-overlay and 1.5 is not
+	#supported.
+	#epatch ${FILESDIR}/build-xml.patch
+
+	cd ${S}/lib
+	rm -f *.jar
+	java-pkg_jar-from adaptx-0.9
+	java-pkg_jar-from commons-logging
+	java-pkg_jar-from cglib-2
+	java-pkg_jar-from jakarta-oro-2.0 jakarta-oro.jar oro.jar
+	java-pkg_jar-from jakarta-regexp-1.3 jakarta-regexp.jar regexp.jar
+	java-pkg_jar-from junit
+	java-pkg_jar-from log4j
+	java-pkg_jar-from servletapi-2.3
+	java-pkg_jar-from xerces-1.3
+	java-pkg_jar-from ldapsdk-4.1 ldapjdk.jar
+	use postgres && java-pkg_jar-from jdbc2-postgresql-5
+}
+
+src_compile() {
+	cd ${S}/src
+	local antflags="jar"
+	use doc && antflags="${antflags} javadoc"
+	use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+	ant ${antflags} || die "compile failed"
+}
+
+src_install() {
+	java-pkg_newjar dist/${P}-xml.jar ${PN}-xml.jar
+	java-pkg_newjar dist/${P}.jar ${PN}.jar
+
+	use doc && java-pkg_dohtml -r build/doc/javadoc/*
+	use source && java-pkg_dosrc src/main/*
+}
diff --git a/dev-java/castor/files/digest-castor-0.9.9 b/dev-java/castor/files/digest-castor-0.9.9
new file mode 100644
index 000000000000..f3de58d8de28
--- /dev/null
+++ b/dev-java/castor/files/digest-castor-0.9.9
@@ -0,0 +1 @@
+MD5 4ae9cf49a93ee93ac743041ed5f0f4d3 castor-0.9.9-src.tgz 6783282
-- 
cgit v1.2.3-65-gdbad