diff options
-rw-r--r-- | dev-java/castor/ChangeLog | 9 | ||||
-rw-r--r-- | dev-java/castor/castor-0.9.9.1-r2.ebuild | 67 | ||||
-rw-r--r-- | dev-java/castor/files/digest-castor-0.9.9.1-r2 | 3 |
3 files changed, 78 insertions, 1 deletions
diff --git a/dev-java/castor/ChangeLog b/dev-java/castor/ChangeLog index 5901df5c9819..25b8ad658a37 100644 --- a/dev-java/castor/ChangeLog +++ b/dev-java/castor/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-java/castor # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/castor/ChangeLog,v 1.34 2007/06/09 14:30:09 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/castor/ChangeLog,v 1.35 2007/06/09 15:24:57 betelgeuse Exp $ + +*castor-0.9.9.1-r2 (09 Jun 2007) + + 09 Jun 2007; Petteri Räty <betelgeuse@gentoo.org> + +castor-0.9.9.1-r2.ebuild: + Drop the postgres use flag because the jdbc driver is only used at runtime + and it's only one of many possible drivers. *castor-1.1.1 (09 Jun 2007) diff --git a/dev-java/castor/castor-0.9.9.1-r2.ebuild b/dev-java/castor/castor-0.9.9.1-r2.ebuild new file mode 100644 index 000000000000..315c01d27ba0 --- /dev/null +++ b/dev-java/castor/castor-0.9.9.1-r2.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2007 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-r2.ebuild,v 1.1 2007/06/09 15:24:57 betelgeuse Exp $ + +JAVA_PKG_IUSE="doc 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="doc examples source" + +COMMON_DEP=" + >=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/servletapi-2.3* + =dev-java/xerces-1.3* + =dev-java/cglib-2.0*" +RDEPEND=">=virtual/jre-1.4 + dev-java/ant-core + ${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 -f *.jar + java-pkg_jar-from ant-core ant.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 servletapi-2.3 + java-pkg_jar-from xerces-1.3 + java-pkg_jar-from ldapsdk-4.1 ldapjdk.jar +} + +src_compile() { + cd "${S}/src" + eant jar $(use_doc) +} + +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 +} diff --git a/dev-java/castor/files/digest-castor-0.9.9.1-r2 b/dev-java/castor/files/digest-castor-0.9.9.1-r2 new file mode 100644 index 000000000000..ef46289f4e37 --- /dev/null +++ b/dev-java/castor/files/digest-castor-0.9.9.1-r2 @@ -0,0 +1,3 @@ +MD5 09e276d0819e522ef171e7385517b004 castor-0.9.9.1-src.tgz 6794995 +RMD160 b308fa49edb708963f6abbde2719b7995ba168ed castor-0.9.9.1-src.tgz 6794995 +SHA256 df569ab985714477956e68ed497ac1fa9fde5f95a8bc0264ee2d31125a970f81 castor-0.9.9.1-src.tgz 6794995 |