diff options
author | Jan Brinkmann <luckyduck@gentoo.org> | 2005-03-22 18:58:41 +0000 |
---|---|---|
committer | Jan Brinkmann <luckyduck@gentoo.org> | 2005-03-22 18:58:41 +0000 |
commit | 60913835fedbc5e41d7f91c2fc1466fdb13c141d (patch) | |
tree | 4d5927a8af26fce93d222d9d0370441cfff7334d /dev-java | |
parent | remove old ebuild (diff) | |
download | gentoo-2-60913835fedbc5e41d7f91c2fc1466fdb13c141d.tar.gz gentoo-2-60913835fedbc5e41d7f91c2fc1466fdb13c141d.tar.bz2 gentoo-2-60913835fedbc5e41d7f91c2fc1466fdb13c141d.zip |
Initial import. Ebuild based on the contribution by Vibhav Garg <vibhavgarg@gmail.com>. Fixes #70671
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/commons-jexl/ChangeLog | 11 | ||||
-rw-r--r-- | dev-java/commons-jexl/Manifest | 5 | ||||
-rw-r--r-- | dev-java/commons-jexl/commons-jexl-1.0.ebuild | 51 | ||||
-rw-r--r-- | dev-java/commons-jexl/files/commons-jexl-1.0-gentoo.diff | 38 | ||||
-rw-r--r-- | dev-java/commons-jexl/files/digest-commons-jexl-1.0 | 1 | ||||
-rw-r--r-- | dev-java/commons-jexl/metadata.xml | 5 |
6 files changed, 111 insertions, 0 deletions
diff --git a/dev-java/commons-jexl/ChangeLog b/dev-java/commons-jexl/ChangeLog new file mode 100644 index 000000000000..41099c960dae --- /dev/null +++ b/dev-java/commons-jexl/ChangeLog @@ -0,0 +1,11 @@ +# 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.1 2005/03/22 18:58:40 luckyduck Exp $ + +*commons-jexl-1.0 (22 Mar 2005) + + 22 Mar 2005; Jan Brinkmann <luckyduck@gentoo.org> +metadata.xml, + +commons-jexl-1.0.ebuild: + Initial import. Ebuild based on the contribution by Vibhav Garg + <vibhavgarg@gmail.com>. Fixes #70671 + diff --git a/dev-java/commons-jexl/Manifest b/dev-java/commons-jexl/Manifest new file mode 100644 index 000000000000..c52d1ff170fc --- /dev/null +++ b/dev-java/commons-jexl/Manifest @@ -0,0 +1,5 @@ +MD5 303c22d98c56d716bdeb8550a4149532 ChangeLog 312 +MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 +MD5 365c5c78c29ae63190b1703613185193 commons-jexl-1.0.ebuild 1855 +MD5 3e457dd4759eb9454f73ffc9dd4e5fb1 files/commons-jexl-1.0-gentoo.diff 1266 +MD5 fa544f8981d14e8ae9dd3a773efceec9 files/digest-commons-jexl-1.0 71 diff --git a/dev-java/commons-jexl/commons-jexl-1.0.ebuild b/dev-java/commons-jexl/commons-jexl-1.0.ebuild new file mode 100644 index 000000000000..0a788ad1f64c --- /dev/null +++ b/dev-java/commons-jexl/commons-jexl-1.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2005 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.ebuild,v 1.1 2005/03/22 18:58:41 luckyduck Exp $ + +inherit java-pkg 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" +DEPEND="dev-java/ant + dev-java/commons-logging + jikes? ( >=dev-java/jikes-1.21 ) + junit? ( dev-java/ant >=dev-java/junit-3.8 >=virtual/jdk-1.4 ) + !junit? ( dev-java/ant-core >=virtual/jdk-1.3 )" +RDEPEND=">=virtual/jdk-1.3" +LICENSE="Apache-2.0" +SLOT="1.0" +KEYWORDS="~x86 ~amd64" +IUSE="doc jikes junit source" + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/${P}-gentoo.diff + + mkdir -p target/lib && cd target/lib + java-pkg_jar-from junit junit.jar + java-pkg_jar-from commons-logging + java-pkg_jar-from ant-core ant.jar + java-pkg_jar-from ant-core optional.jar ant-optional.jar +} + +src_compile() { + local antflags="jar" + use doc && antflags="${antflags} javadoc" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + use junit && antflags="${antflags} test" + ant ${antflags} || die "compile problem" +} + +src_install() { + mv target/${P}*.jar ${PN}.jar + java-pkg_dojar ${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/commons-jexl-1.0-gentoo.diff b/dev-java/commons-jexl/files/commons-jexl-1.0-gentoo.diff new file mode 100644 index 000000000000..e2b408c14a5e --- /dev/null +++ b/dev-java/commons-jexl/files/commons-jexl-1.0-gentoo.diff @@ -0,0 +1,38 @@ +*** build.xml.orig Tue Nov 9 20:43:52 2004 +--- build.xml Tue Nov 9 20:54:22 2004 +*************** +*** 31,40 **** + <target name="init" description="o Initializes some properties"> + <mkdir dir="${libdir}"> + </mkdir> +! <condition property="noget"> + <equals arg2="only" arg1="${build.sysclasspath}"> + </equals> +! </condition> + <!--Test if JUNIT is present in ANT classpath--> + + <available property="Junit.present" classname="junit.framework.Test"> +--- 31,41 ---- + <target name="init" description="o Initializes some properties"> + <mkdir dir="${libdir}"> + </mkdir> +! <!--<condition property="noget"> + <equals arg2="only" arg1="${build.sysclasspath}"> + </equals> +! </condition>--> +! <property name="noget" value="true"></property> + <!--Test if JUNIT is present in ANT classpath--> + + <available property="Junit.present" classname="junit.framework.Test"> +*************** +*** 157,160 **** + <unjar dest="${maven.home}" src="${user.home}/maven-install-latest.jar"> + </unjar> + </target> +! </project> +\ No newline at end of file +--- 158,161 ---- + <unjar dest="${maven.home}" src="${user.home}/maven-install-latest.jar"> + </unjar> + </target> +! </project> diff --git a/dev-java/commons-jexl/files/digest-commons-jexl-1.0 b/dev-java/commons-jexl/files/digest-commons-jexl-1.0 new file mode 100644 index 000000000000..0581b2cb0479 --- /dev/null +++ b/dev-java/commons-jexl/files/digest-commons-jexl-1.0 @@ -0,0 +1 @@ +MD5 a925ed8d07a1cbc12be78ce821f18f8e commons-jexl-1.0-src.tar.gz 72093 diff --git a/dev-java/commons-jexl/metadata.xml b/dev-java/commons-jexl/metadata.xml new file mode 100644 index 000000000000..838c00a4a448 --- /dev/null +++ b/dev-java/commons-jexl/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>java</herd> +</pkgmetadata> |