diff options
author | Vlastimil Babka <caster@gentoo.org> | 2007-05-27 00:16:23 +0000 |
---|---|---|
committer | Vlastimil Babka <caster@gentoo.org> | 2007-05-27 00:16:23 +0000 |
commit | dbe57e0cb98dbdeddee53b9e76493ca1379629f5 (patch) | |
tree | 13546ed6ab5c3246b17a3cecb4fac67dcaf4feec /dev-java/commons-jexl | |
parent | Switch to java-pkg_dojavadoc and otherwise cleanup ebuilds. (diff) | |
download | historical-dbe57e0cb98dbdeddee53b9e76493ca1379629f5.tar.gz historical-dbe57e0cb98dbdeddee53b9e76493ca1379629f5.tar.bz2 historical-dbe57e0cb98dbdeddee53b9e76493ca1379629f5.zip |
Migrate to split-ant, tweak style.
Package-Manager: portage-2.1.2.8
Diffstat (limited to 'dev-java/commons-jexl')
-rw-r--r-- | dev-java/commons-jexl/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/commons-jexl/commons-jexl-1.1.ebuild | 28 |
2 files changed, 21 insertions, 14 deletions
diff --git a/dev-java/commons-jexl/ChangeLog b/dev-java/commons-jexl/ChangeLog index f54662149899..5d6344ef9fe2 100644 --- a/dev-java/commons-jexl/ChangeLog +++ b/dev-java/commons-jexl/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-java/commons-jexl -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-jexl/ChangeLog,v 1.4 2006/12/26 18:14:42 betelgeuse Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-jexl/ChangeLog,v 1.5 2007/05/27 00:16:23 caster Exp $ + + 27 May 2007; Vlastimil Babka <caster@gentoo.org> commons-jexl-1.1.ebuild: + Migrate to split-ant, tweak style. *commons-jexl-1.1 (26 Dec 2006) diff --git a/dev-java/commons-jexl/commons-jexl-1.1.ebuild b/dev-java/commons-jexl/commons-jexl-1.1.ebuild index dfd162e080d6..238c6926807f 100644 --- a/dev-java/commons-jexl/commons-jexl-1.1.ebuild +++ b/dev-java/commons-jexl/commons-jexl-1.1.ebuild @@ -1,24 +1,28 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-jexl/commons-jexl-1.1.ebuild,v 1.1 2006/12/26 18:14:42 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-jexl/commons-jexl-1.1.ebuild,v 1.2 2007/05/27 00:16:23 caster Exp $ + +JAVA_PKG_IUSE="doc source test" inherit eutils java-pkg-2 java-ant-2 DESCRIPTION="Expression language engine, can be embedded in applications and frameworks." HOMEPAGE="http://jakarta.apache.org/commons/jexl" SRC_URI="mirror://apache/jakarta/commons/jexl/source/${P}-src.tar.gz" + +CDEPEND="dev-java/commons-logging + =dev-java/junit-3*" + RDEPEND=">=virtual/jre-1.4 - dev-java/commons-logging - >=dev-java/junit-3.8" -DEPEND="${RDEPEND} - >=virtual/jdk-1.4 - dev-java/ant-core - test? ( dev-java/ant-tasks )" + ${CDEPEND}" +DEPEND=">=virtual/jdk-1.4 + test? ( dev-java/ant-junit ) + ${CDEPEND}" LICENSE="Apache-2.0" SLOT="1.0" KEYWORDS="~amd64 ~ppc ~x86" -IUSE="doc source test" +IUSE="" S="${WORKDIR}/${P}-src" @@ -35,13 +39,13 @@ src_unpack() { } src_test() { - eant test + ANT_TASKS="ant-junit" eant test } src_install() { - java-pkg_newjar target/${P}*.jar ${PN}.jar + java-pkg_newjar target/${P}*.jar - dodoc RELEASE-NOTES.txt + dodoc RELEASE-NOTES.txt || die use doc && java-pkg_dojavadoc dist/docs/api use source && java-pkg_dosrc ${S}/src/java/* |