diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2008-07-18 19:46:58 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2008-07-18 19:46:58 +0000 |
commit | 69da0d39b53c04c5bf0f45b749241706852fe4d3 (patch) | |
tree | 655363b2e1a28a31e0b0894a06d9d3ee816dc7c9 /dev-java/exolabcore | |
parent | Initial ebuild. Fixes bug #157475. (diff) | |
download | gentoo-2-69da0d39b53c04c5bf0f45b749241706852fe4d3.tar.gz gentoo-2-69da0d39b53c04c5bf0f45b749241706852fe4d3.tar.bz2 gentoo-2-69da0d39b53c04c5bf0f45b749241706852fe4d3.zip |
Remove unneeded runtime dependency on jakarta-oro-2.0
(Portage version: 2.2_rc1/cvs/Linux 2.6.25-gentoo-r5 i686)
Diffstat (limited to 'dev-java/exolabcore')
-rw-r--r-- | dev-java/exolabcore/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/exolabcore/exolabcore-0.3.7_p20050205-r2.ebuild | 79 |
2 files changed, 86 insertions, 1 deletions
diff --git a/dev-java/exolabcore/ChangeLog b/dev-java/exolabcore/ChangeLog index fe546a20946b..7de9580ef808 100644 --- a/dev-java/exolabcore/ChangeLog +++ b/dev-java/exolabcore/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/exolabcore # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/exolabcore/ChangeLog,v 1.14 2008/01/10 22:29:32 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/exolabcore/ChangeLog,v 1.15 2008/07/18 19:46:58 betelgeuse Exp $ + +*exolabcore-0.3.7_p20050205-r2 (18 Jul 2008) + + 18 Jul 2008; Petteri Räty <betelgeuse@gentoo.org> + +exolabcore-0.3.7_p20050205-r2.ebuild: + Remove unneeded runtime dependency on jakarta-oro-2.0 10 Jan 2008; Vlastimil Babka <caster@gentoo.org> exolabcore-0.3.7_p20050205-r1.ebuild: diff --git a/dev-java/exolabcore/exolabcore-0.3.7_p20050205-r2.ebuild b/dev-java/exolabcore/exolabcore-0.3.7_p20050205-r2.ebuild new file mode 100644 index 000000000000..d9ae96a205c6 --- /dev/null +++ b/dev-java/exolabcore/exolabcore-0.3.7_p20050205-r2.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/exolabcore/exolabcore-0.3.7_p20050205-r2.ebuild,v 1.1 2008/07/18 19:46:58 betelgeuse Exp $ + +EAPI=1 +WANT_ANT_TASKS="dev-java/exolabtools:0" +JAVA_PKG_IUSE="doc source test" + +inherit eutils java-pkg-2 java-ant-2 + +MY_DATE="${PV##*_p}" +MY_PV="${PV%%_p*}" +MY_P="${PN}-${MY_DATE}" + +DESCRIPTION="Exolab Build Tools" +HOMEPAGE="http://openjms.cvs.sourceforge.net/openjms/exolabcore/" +SRC_URI="mirror://gentoo/${MY_P}.tar.bz2" + +LICENSE="Exolab" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="" + +COMMON_DEP=" + dev-java/cdegroot-db + dev-java/commons-logging" + +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEP}" +DEPEND=">=virtual/jdk-1.4 + ${COMMON_DEP} + dev-java/exolabtools + test? ( + dev-java/commons-cli + dev-java/log4j + =dev-java/junit-3.8* + )" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + + cd "${S}/src" + epatch "${FILESDIR}/${P}-buildfile.patch" + epatch "${FILESDIR}/0.3.7_p20050205-r1-tests-junit.patch" + + cd "${S}/lib" + java-pkg_jar-from cdegroot-db-1 + java-pkg_jar-from commons-logging +} + +src_compile() { + cd "${S}/src" + java-pkg-2_src_compile +} + +src_test() { + cd "${S}/lib" + java-pkg_jar-from junit + java-pkg_jar-from commons-cli-1 + java-pkg_jar-from log4j + + cd "${S}/src" + eant tests + cd .. + local deps + deps="junit,commons-cli-1,log4j,cdegroot-db-1,commons-logging,jakarta-oro-2.0" + java -cp "build/classes:build/tests:$(java-config -p ${deps})" \ + org.exolab.core.test.CoreTestSuite -execute || die "Tests failed" +} + +src_install() { + java-pkg_newjar dist/${PN}-${MY_PV}.jar ${PN}.jar + + use doc && java-pkg_dojavadoc build/doc/javadoc + use source && java-pkg_dosrc src/main/* +} |