summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2008-07-18 20:09:17 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2008-07-18 20:09:17 +0000
commit9026512127a37f72b2773d5d24c56ec2de4152fc (patch)
tree2e2cbf9ec150cf115c39b1dac1ef862bea7805d1
parentInitial ebuild. Fixes bug #156100. (diff)
downloadgentoo-2-9026512127a37f72b2773d5d24c56ec2de4152fc.tar.gz
gentoo-2-9026512127a37f72b2773d5d24c56ec2de4152fc.tar.bz2
gentoo-2-9026512127a37f72b2773d5d24c56ec2de4152fc.zip
Remove unneeded dependency on adaptx.
(Portage version: 2.2_rc1/cvs/Linux 2.6.25-gentoo-r5 i686)
-rw-r--r--dev-java/castor/ChangeLog8
-rw-r--r--dev-java/castor/castor-0.9.9.1-r4.ebuild67
2 files changed, 74 insertions, 1 deletions
diff --git a/dev-java/castor/ChangeLog b/dev-java/castor/ChangeLog
index be5d132b748a..c2cd02986da0 100644
--- a/dev-java/castor/ChangeLog
+++ b/dev-java/castor/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/castor
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/castor/ChangeLog,v 1.44 2008/05/03 19:07:31 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/castor/ChangeLog,v 1.45 2008/07/18 20:09:17 betelgeuse Exp $
+
+*castor-0.9.9.1-r4 (18 Jul 2008)
+
+ 18 Jul 2008; Petteri Räty <betelgeuse@gentoo.org>
+ +castor-0.9.9.1-r4.ebuild:
+ Remove unneeded dependency on adaptx.
03 May 2008; Christian Faulhammer <opfer@gentoo.org>
castor-0.9.9.1-r3.ebuild:
diff --git a/dev-java/castor/castor-0.9.9.1-r4.ebuild b/dev-java/castor/castor-0.9.9.1-r4.ebuild
new file mode 100644
index 000000000000..588fe6017861
--- /dev/null
+++ b/dev-java/castor/castor-0.9.9.1-r4.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2008 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.1-r4.ebuild,v 1.1 2008/07/18 20:09:17 betelgeuse Exp $
+
+EAPI=1
+JAVA_PKG_IUSE="doc examples source"
+
+inherit eutils java-pkg-2 java-ant-2
+
+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=""
+
+COMMON_DEP="
+ >=dev-java/commons-logging-1.0.4
+ dev-java/jakarta-oro:2.0
+ dev-java/jakarta-regexp:1.3
+ dev-java/ldapsdk:4.1
+ java-virtuals/servlet-api:2.3
+ dev-java/xerces:1.3
+ dev-java/cglib:2"
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEP}"
+# Does not like Java 1.6's JDBC API
+DEPEND="|| (
+ =virtual/jdk-1.5*
+ =virtual/jdk-1.4*
+ )
+ ${COMMON_DEP}"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ # TODO this should be filed upstream
+ epatch "${FILESDIR}/0.9.5.3-jikes.patch"
+
+ cd "${S}/lib"
+ rm -v *.jar || die
+ #FIXME: uses these bundled classes
+ #rm -v tests/*.jar || die
+ java-pkg_jar-from --build-only ant-core ant.jar
+ #Only used by examples and tests and we aren't building them
+ #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 --virtual servlet-api-2.3
+ java-pkg_jar-from xerces-1.3
+ java-pkg_jar-from ldapsdk-4.1 ldapjdk.jar
+}
+
+EANT_BUILD_XML="src/build.xml"
+
+src_install() {
+ java-pkg_newjar dist/${P}.jar
+ java-pkg_newjar dist/${P}-xml.jar ${PN}-xml.jar
+
+ use doc && java-pkg_dojavadoc build/doc/javadoc
+ use examples && java-pkg_doexamples src/examples
+ use source && java-pkg_dosrc src/main/org
+}