summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-java/castor/ChangeLog8
-rw-r--r--dev-java/castor/Manifest14
-rw-r--r--dev-java/castor/castor-0.9.7.ebuild73
-rw-r--r--dev-java/castor/files/digest-castor-0.9.71
4 files changed, 84 insertions, 12 deletions
diff --git a/dev-java/castor/ChangeLog b/dev-java/castor/ChangeLog
index 5ec6bb37ad8e..d8ccba5a53af 100644
--- a/dev-java/castor/ChangeLog
+++ b/dev-java/castor/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/castor
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/castor/ChangeLog,v 1.12 2005/09/11 12:01:21 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/castor/ChangeLog,v 1.13 2005/10/02 19:17:52 betelgeuse Exp $
+
+*castor-0.9.7 (18 Sep 2005)
+
+ 18 Sep 2005; Petteri Räty <betelgeuse@gentoo.org> +castor-0.9.7.ebuild:
+ Version bump. Fixes bug #105577. Thanks to <wiktorw@people.pl> and Josh
+ Nichols <nichoj@alum.rpi.edu>.
11 Sep 2005; Petteri Räty <betelgeuse@gentoo.org>
castor-0.9.5.3-r1.ebuild:
diff --git a/dev-java/castor/Manifest b/dev-java/castor/Manifest
index c61594f48bb5..9ed569c1e258 100644
--- a/dev-java/castor/Manifest
+++ b/dev-java/castor/Manifest
@@ -1,16 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 a60f8a28c39620e66f235ba6479a35b5 castor-0.9.5.3-r1.ebuild 1866
-MD5 1c04bd25408f6371c7af9fba486d0a6d ChangeLog 1863
+MD5 ee081e283cd4b59e33a46fcc43417f94 castor-0.9.7.ebuild 1975
+MD5 9b1ab6bb5d15f722d01071e22d507552 ChangeLog 2075
MD5 774373e19c9c08854e8d705a1756afbb metadata.xml 416
MD5 a07a47cbd64524563caccf7a0f649553 files/0.9.5.3-jikes.patch 1316
+MD5 21050c5d30ff492f6d2bedc47492a19c files/digest-castor-0.9.7 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)
-
-iD8DBQFDJBynQiJ/wx066S4RAkwEAJ9a0FokUvlH6oK0aXrn8hapiRgtEQCfXtmu
-Zs/C7sxeXcPEP5xzG6/s9S0=
-=GukL
------END PGP SIGNATURE-----
diff --git a/dev-java/castor/castor-0.9.7.ebuild b/dev-java/castor/castor-0.9.7.ebuild
new file mode 100644
index 000000000000..cb7ad44c1b2e
--- /dev/null
+++ b/dev-java/castor/castor-0.9.7.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.7.ebuild,v 1.1 2005/10/02 19:17:52 betelgeuse 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.7 b/dev-java/castor/files/digest-castor-0.9.7
new file mode 100644
index 000000000000..fa3a42fb1468
--- /dev/null
+++ b/dev-java/castor/files/digest-castor-0.9.7
@@ -0,0 +1 @@
+MD5 24fa5b07501634d943d88e193101d232 castor-0.9.7-src.tgz 6426529