diff options
author | Joshua Nichols <nichoj@gentoo.org> | 2006-07-04 19:49:09 +0000 |
---|---|---|
committer | Joshua Nichols <nichoj@gentoo.org> | 2006-07-04 19:49:09 +0000 |
commit | f01c056104647e131041749f5f3b5c8efd7a1d37 (patch) | |
tree | 302677d9dfa773780c06b11ce490b2e332416cb9 /dev-java | |
parent | Fixed RDEPEND wrt bug #134781 (diff) | |
download | gentoo-2-f01c056104647e131041749f5f3b5c8efd7a1d37.tar.gz gentoo-2-f01c056104647e131041749f5f3b5c8efd7a1d37.tar.bz2 gentoo-2-f01c056104647e131041749f5f3b5c8efd7a1d37.zip |
Revision bump to support new Java system.
(Portage version: 2.1.1_pre1)
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/castor/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/castor/castor-0.9.9.1-r1.ebuild | 68 | ||||
-rw-r--r-- | dev-java/castor/files/digest-castor-0.9.9.1-r1 | 3 |
3 files changed, 77 insertions, 1 deletions
diff --git a/dev-java/castor/ChangeLog b/dev-java/castor/ChangeLog index fbd0fd05f9db..e639939b2cb8 100644 --- a/dev-java/castor/ChangeLog +++ b/dev-java/castor/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/castor # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/castor/ChangeLog,v 1.22 2006/03/12 05:52:01 nichoj Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/castor/ChangeLog,v 1.23 2006/07/04 19:49:09 nichoj Exp $ + +*castor-0.9.9.1-r1 (04 Jul 2006) + + 04 Jul 2006; Joshua Nichols <nichoj@gentoo.org> +castor-0.9.9.1-r1.ebuild: + Revision bump to support new Java system. 12 Mar 2006; <nichoj@gentoo.org> -castor-0.9.7.ebuild, -castor-0.9.9.ebuild: diff --git a/dev-java/castor/castor-0.9.9.1-r1.ebuild b/dev-java/castor/castor-0.9.9.1-r1.ebuild new file mode 100644 index 000000000000..b49e77a53240 --- /dev/null +++ b/dev-java/castor/castor-0.9.9.1-r1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2006 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-r1.ebuild,v 1.1 2006/07/04 19:49:09 nichoj Exp $ + +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 postgres 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/junit-3.8 + =dev-java/servletapi-2.3* + =dev-java/xerces-1.3* + =dev-java/cglib-2.0* + postgres? ( =dev-java/jdbc2-postgresql-7.3* )" +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEP}" +# Does not like Java 1.6's JDBC API +DEPEND="|| ( + =virtual/jdk-1.4* + =virtual/jdk-1.5* + ) + >=dev-java/ant-core-1.5 + ${COMMON_DEP}" + +ant_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 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 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 + eant jar $(use_doc) +} + +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.1-r1 b/dev-java/castor/files/digest-castor-0.9.9.1-r1 new file mode 100644 index 000000000000..ef46289f4e37 --- /dev/null +++ b/dev-java/castor/files/digest-castor-0.9.9.1-r1 @@ -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 |