summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-10-07 16:05:20 +0000
committerAchim Gottinger <achim@gentoo.org>2001-10-07 16:05:20 +0000
commitcf083252a31b57cc1aaa5fa3d65caf6ad553f245 (patch)
tree374f305b1d7ca78c84053a5c8e0b1e9a7d78cfae /dev-java/ant
parentremoved old location (diff)
downloadgentoo-2-cf083252a31b57cc1aaa5fa3d65caf6ad553f245.tar.gz
gentoo-2-cf083252a31b57cc1aaa5fa3d65caf6ad553f245.tar.bz2
gentoo-2-cf083252a31b57cc1aaa5fa3d65caf6ad553f245.zip
New version additionally I added a bunch of optional jar's to that package
Diffstat (limited to 'dev-java/ant')
-rw-r--r--dev-java/ant/ant-1.4.ebuild62
-rw-r--r--dev-java/ant/files/digest-ant-1.42
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