diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-07-22 22:56:35 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-07-22 22:56:35 +0000 |
commit | 3594f729d81bed1589165c84d416efecb6442bab (patch) | |
tree | 00c872658fcbcc83846d288fac0b895d6189a694 /dev-java/commons-jexl | |
parent | Migrated to Generation 2. (diff) | |
download | gentoo-2-3594f729d81bed1589165c84d416efecb6442bab.tar.gz gentoo-2-3594f729d81bed1589165c84d416efecb6442bab.tar.bz2 gentoo-2-3594f729d81bed1589165c84d416efecb6442bab.zip |
Migrated to Generation 2.
(Portage version: 2.1.1_pre3-r3)
Diffstat (limited to 'dev-java/commons-jexl')
-rw-r--r-- | dev-java/commons-jexl/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/commons-jexl/commons-jexl-1.0-r1.ebuild | 47 | ||||
-rw-r--r-- | dev-java/commons-jexl/files/digest-commons-jexl-1.0 | 2 | ||||
-rw-r--r-- | dev-java/commons-jexl/files/digest-commons-jexl-1.0-r1 | 3 |
4 files changed, 60 insertions, 2 deletions
diff --git a/dev-java/commons-jexl/ChangeLog b/dev-java/commons-jexl/ChangeLog index a1f639ceea70..1a87bb150990 100644 --- a/dev-java/commons-jexl/ChangeLog +++ b/dev-java/commons-jexl/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/commons-jexl -# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-jexl/ChangeLog,v 1.2 2005/05/18 20:20:30 luckyduck Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-jexl/ChangeLog,v 1.3 2006/07/22 22:56:35 nelchael Exp $ + +*commons-jexl-1.0-r1 (22 Jul 2006) + + 22 Jul 2006; Krzysiek Pawlik <nelchael@gentoo.org> + +commons-jexl-1.0-r1.ebuild: + Migrated to Generation 2. 18 May 2005; Jan Brinkmann <luckyduck@gentoo.org> commons-jexl-1.0.ebuild: stable on amd64 and x86, added ~ppc to KEYWORDS diff --git a/dev-java/commons-jexl/commons-jexl-1.0-r1.ebuild b/dev-java/commons-jexl/commons-jexl-1.0-r1.ebuild new file mode 100644 index 000000000000..f7a365967813 --- /dev/null +++ b/dev-java/commons-jexl/commons-jexl-1.0-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2006 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.0-r1.ebuild,v 1.1 2006/07/22 22:56:35 nelchael Exp $ + +inherit java-pkg-2 java-ant-2 eutils +DESCRIPTION="Expression language engine, can be embedded in applications and frameworks." +HOMEPAGE="http://jakarta.apache.org/commons/jexl" +SRC_URI="mirror://apache/java-repository/${PN}/distributions/${P}-src.tar.gz" +RDEPEND=">=virtual/jre-1.4 + dev-java/commons-logging" +DEPEND="${RDEPEND} + junit? ( dev-java/ant >=dev-java/junit-3.8 >=virtual/jdk-1.4 ) + !junit? ( dev-java/ant-core >=virtual/jdk-1.3 )" + +LICENSE="Apache-2.0" +SLOT="1.0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc junit source" + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/${P}-gentoo.diff + + mkdir -p target/lib && cd target/lib + use junit && java-pkg_jar-from junit junit.jar + java-pkg_jar-from commons-logging +} + +src_compile() { + local antflags="jar" + use doc && antflags="${antflags} javadoc" + use junit && antflags="${antflags} test" + eant ${antflags} || die "compile problem" +} + +src_install() { + java-pkg_newjar target/${P}*.jar ${PN}.jar + + if use doc; then + dodoc RELEASE-NOTES.txt + java-pkg_dohtml PROPOSAL.html STATUS.html usersguide.html + java-pkg_dohtml -r dist/docs/ + fi + use source && java-pkg_dosrc ${S}/src/java/* +} diff --git a/dev-java/commons-jexl/files/digest-commons-jexl-1.0 b/dev-java/commons-jexl/files/digest-commons-jexl-1.0 index 0581b2cb0479..4a66b61c9dc6 100644 --- a/dev-java/commons-jexl/files/digest-commons-jexl-1.0 +++ b/dev-java/commons-jexl/files/digest-commons-jexl-1.0 @@ -1 +1,3 @@ MD5 a925ed8d07a1cbc12be78ce821f18f8e commons-jexl-1.0-src.tar.gz 72093 +RMD160 36e44c95bb6fdb3abdd6df0ea7d09340f7a8947a commons-jexl-1.0-src.tar.gz 72093 +SHA256 9e1036e1f333af1f4c065fabb14720d671c20d867e689dd454bde181be3bcade commons-jexl-1.0-src.tar.gz 72093 diff --git a/dev-java/commons-jexl/files/digest-commons-jexl-1.0-r1 b/dev-java/commons-jexl/files/digest-commons-jexl-1.0-r1 new file mode 100644 index 000000000000..4a66b61c9dc6 --- /dev/null +++ b/dev-java/commons-jexl/files/digest-commons-jexl-1.0-r1 @@ -0,0 +1,3 @@ +MD5 a925ed8d07a1cbc12be78ce821f18f8e commons-jexl-1.0-src.tar.gz 72093 +RMD160 36e44c95bb6fdb3abdd6df0ea7d09340f7a8947a commons-jexl-1.0-src.tar.gz 72093 +SHA256 9e1036e1f333af1f4c065fabb14720d671c20d867e689dd454bde181be3bcade commons-jexl-1.0-src.tar.gz 72093 |