diff options
author | Achim Gottinger <achim@gentoo.org> | 2001-10-07 16:05:20 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2001-10-07 16:05:20 +0000 |
commit | 84afda432f04c8156365e03865d36c254b7551f4 (patch) | |
tree | c1aa1bc862ee28d7ddec3e50973f76d924e6bb0c /dev-java | |
parent | removed old location (diff) | |
download | historical-84afda432f04c8156365e03865d36c254b7551f4.tar.gz historical-84afda432f04c8156365e03865d36c254b7551f4.tar.bz2 historical-84afda432f04c8156365e03865d36c254b7551f4.zip |
New version additionally I added a bunch of optional jar's to that package
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/ant/ant-1.4.ebuild | 62 | ||||
-rw-r--r-- | dev-java/ant/files/digest-ant-1.4 | 2 |
2 files changed, 64 insertions, 0 deletions
diff --git a/dev-java/ant/ant-1.4.ebuild b/dev-java/ant/ant-1.4.ebuild new file mode 100644 index 000000000000..9621d006451c --- /dev/null +++ b/dev-java/ant/ant-1.4.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/dev-java/ant/ant-1.4.ebuild,v 1.1 2001/10/07 16:05:20 achim Exp $ + +A="jakarta-ant-${PV}-src.tar.gz ant-optional-gentoo-${PV}.tgz" +S=${WORKDIR}/jakarta-ant-${PV} +DESCRIPTION="Build system for java" +SRC_URI="http://jakarta.apache.org/builds/jakarta-ant/release/v${PV}/src/jakarta-ant-${PV}-src.tar.gz" +HOMEPAGE="http://jakarta.apache.org" + +DEPEND="virtual/glibc + >=dev-lang/jdk-1.3" + +src_unpack() { + unpack jakarta-ant-${PV}-src.tar.gz + cd ${S}/src/script + cp antRun antRun.orig + tr -d '\r' < antRun.orig > antRun + cd ../.. + mkdir lib/opt + cd lib/opt + unpack ant-optional-gentoo-${PV}.tgz +} +src_compile() { + + CLASSPATH="/opt/java/lib/tools.jar" + for i in ${S}/lib/opt + do + CLASSPATH=$CLASSPATH:$i + done + export CLASSPATH + export JAVA_HOME=/opt/java + + echo "Building ant..." + ./bootstrap.sh + mv bootstrap/bin . + +} + +src_install() { + exeinto /usr/bin + doexe bin/ant bin/antRun bin/runant.pl + insinto /usr/lib/java + doins build/lib/*.jar lib/*.jar + insinto /usr/lib/java/ant + doins lib/opt/*.jar + + dodoc LICENSE README WHATSNEW + docinto html + cd docs + dodoc ant_in_anger.html + docinto html/ant2 + dodoc ant2/*.html + docinto txt + dodoc ant2/*.txt + cp -a manual ${D}/usr/share/doc/${PF}/html + prepalldocs +} + + + diff --git a/dev-java/ant/files/digest-ant-1.4 b/dev-java/ant/files/digest-ant-1.4 new file mode 100644 index 000000000000..a2e181b2b143 --- /dev/null +++ b/dev-java/ant/files/digest-ant-1.4 @@ -0,0 +1,2 @@ +MD5 e2d549dcaee6167c9e9937df8ed781e8 jakarta-ant-1.4-src.tar.gz +MD5 f2285d2fb1835dd65805eadb9afa6f67 ant-optional-gentoo-1.4.tgz |