diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2006-12-02 16:24:46 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2006-12-02 16:24:46 +0000 |
commit | 6a28d8e88365c2a4fdf17f95660bfaa096641756 (patch) | |
tree | 5fa8a57742f0330c0b1d602bc22d2c0090917e1a /dev-java/castor | |
parent | Version bump for 7.2RC3. Includes a fix for X -probeonly on NV44+. (diff) | |
download | gentoo-2-6a28d8e88365c2a4fdf17f95660bfaa096641756.tar.gz gentoo-2-6a28d8e88365c2a4fdf17f95660bfaa096641756.tar.bz2 gentoo-2-6a28d8e88365c2a4fdf17f95660bfaa096641756.zip |
Version bump.
(Portage version: 2.1.2_rc2-r3)
Diffstat (limited to 'dev-java/castor')
-rw-r--r-- | dev-java/castor/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/castor/castor-1.0.5.ebuild | 85 | ||||
-rw-r--r-- | dev-java/castor/files/digest-castor-1.0.5 | 3 |
3 files changed, 94 insertions, 1 deletions
diff --git a/dev-java/castor/ChangeLog b/dev-java/castor/ChangeLog index 5d064fa5dcbc..787df1064214 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.27 2006/10/05 15:14:28 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/castor/ChangeLog,v 1.28 2006/12/02 16:24:46 betelgeuse Exp $ + +*castor-1.0.5 (02 Dec 2006) + + 02 Dec 2006; Petteri Räty <betelgeuse@gentoo.org> +castor-1.0.5.ebuild: + Version bump. 05 Oct 2006; Gustavo Zacarias <gustavoz@gentoo.org> castor-0.9.5.3-r1.ebuild: diff --git a/dev-java/castor/castor-1.0.5.ebuild b/dev-java/castor/castor-1.0.5.ebuild new file mode 100644 index 000000000000..c0c51782781e --- /dev/null +++ b/dev-java/castor/castor-1.0.5.ebuild @@ -0,0 +1,85 @@ +# 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-1.0.5.ebuild,v 1.1 2006/12/02 16:24:46 betelgeuse Exp $ + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Data binding framework for Java" +HOMEPAGE="http://www.castor.org" +SRC_URI="http://dist.codehaus.org/${PN}/${PV}/${P}-src.tgz" + +#SRC_URI="mirror://gentoo/${P}.tar.bz2" +# svn co https://svn.codehaus.org/castor/castor/tags/1.0.3/ castor-1.0.3 +# cd castor-1.0.3 +# mvn ant:ant +# do some magic to build.xml +# rm lib/* +# cd ../ +# tar cjvf castor-1.0.3.tar.bz2 --exclude=.svn castor-1.0.3 + +LICENSE="Exolab" +SLOT="1.0" +KEYWORDS="~amd64 ~x86" +IUSE="doc source" + +# tests and full documentation when support will be added +# dev-java/log4j +# ~dev-java/servletapi-2.4 +# dev-java/junit" + +COMMON_DEPS="=dev-java/adaptx-0.9* + =dev-java/cglib-2.0* + dev-java/commons-logging + =dev-java/jakarta-oro-2.0* + =dev-java/jakarta-regexp-1.3* + dev-java/jta + =dev-java/ldapsdk-4.1* + dev-java/ant-core" + +# Does not like Java 1.6's JDBC API +DEPEND="|| ( + =virtual/jdk-1.4* + =virtual/jdk-1.5* + ) + source? ( app-arch/zip ) + ${COMMON_DEPS}" +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEPS}" + +src_unpack() { + unpack ${A} + cd "${S}/lib" + rm -v *.jar tests/*.jar + java-pkg_jar-from cglib-2 cglib.jar + java-pkg_jar-from commons-logging commons-logging-api.jar + java-pkg_jar-from jakarta-oro-2.0 + java-pkg_jar-from jakarta-regexp-1.3 + java-pkg_jar-from jta + java-pkg_jar-from ldapsdk-4.1 ldapjdk.jar + java-pkg_jar-from ant-core ant.jar + + # These are only used for tests or documentation + #java-pkg_jar-from junit + #java-pkg_jar-from adaptx-0.9 + #java-pkg_jar-from log4j + #java-pkg_jar-from servletapi-2.4 servlet-api.jar +} + +src_compile() { + cd "${S}"/src/ + eant clean jar $(use_doc) +} + +# Needs for example mockejb which is not packaged yet +#src_test() { +# cd "${S}"/src/ +# eant tests +#} + +src_install() { + java-pkg_newjar dist/${P}.jar ${PN}.jar + java-pkg_newjar dist/${P}-commons.jar ${PN}-commons.jar + java-pkg_newjar dist/${P}-xml.jar ${PN}-xml.jar + use source && java-pkg_dosrc src/main/java/org + use doc && java-pkg_dojavadoc build/doc/javadoc +} diff --git a/dev-java/castor/files/digest-castor-1.0.5 b/dev-java/castor/files/digest-castor-1.0.5 new file mode 100644 index 000000000000..63108fbad078 --- /dev/null +++ b/dev-java/castor/files/digest-castor-1.0.5 @@ -0,0 +1,3 @@ +MD5 8fb6bb6be23c4b83303fe29d1fc6b9e7 castor-1.0.5-src.tgz 8883719 +RMD160 9c2d8445fe2a7c7d7dd991b8d5350b0de1cb41ec castor-1.0.5-src.tgz 8883719 +SHA256 364c4bd8ed29f0b2b9e9f7acda31cf2e9f8f3a9a7a8cb12ac457f3ad091b7505 castor-1.0.5-src.tgz 8883719 |