summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Carlson <absinthe@gentoo.org>2003-04-23 11:09:13 +0000
committerDylan Carlson <absinthe@gentoo.org>2003-04-23 11:09:13 +0000
commit4527c77949a42b668c7c5346ae92ef06568e4aad (patch)
tree2526c6f259a09e0780b7ea779009ea2b6970036b /dev-java
parentnow builds from source; various fixes. still masked. (diff)
downloadhistorical-4527c77949a42b668c7c5346ae92ef06568e4aad.tar.gz
historical-4527c77949a42b668c7c5346ae92ef06568e4aad.tar.bz2
historical-4527c77949a42b668c7c5346ae92ef06568e4aad.zip
now builds from source; various fixes. still masked.
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/ant/Manifest4
-rw-r--r--dev-java/ant/ant-1.5.3-r2.ebuild41
-rw-r--r--dev-java/ant/files/digest-ant-1.5.3-r21
3 files changed, 44 insertions, 2 deletions
diff --git a/dev-java/ant/Manifest b/dev-java/ant/Manifest
index 90e8151eae28..227d2bb6e453 100644
--- a/dev-java/ant/Manifest
+++ b/dev-java/ant/Manifest
@@ -1,7 +1,7 @@
-MD5 575cbccd73085a7b2971c2e31bdc2f8c ant-1.5.3-r2.ebuild 1201
+MD5 98dbf90ca45fd271527facb1de348e5f ant-1.5.3-r2.ebuild 1201
MD5 f1d02c26d73caf9e3d41973a42aa26b5 ant-1.5.3-r1.ebuild 810
MD5 a5cb516430eda14e16893fe939a0fa6c ant-1.5.2.ebuild 779
-MD5 86c86a2e75ff3661a0319935d9281bef ChangeLog 5808
+MD5 abbc5742ca4354eb26c305c5ba818ecd ChangeLog 5808
MD5 854c1587f08c5c45367a51209fd4e75b files/digest-ant-1.5.2 251
MD5 ae347922c99e3a595e2dcdb43521d8a6 files/digest-ant-1.5.3-r1 256
MD5 0bf5f1d0dfa292c160318e00bb085a3e files/digest-ant-1.5.3-r2 76
diff --git a/dev-java/ant/ant-1.5.3-r2.ebuild b/dev-java/ant/ant-1.5.3-r2.ebuild
new file mode 100644
index 000000000000..c3892ebe2517
--- /dev/null
+++ b/dev-java/ant/ant-1.5.3-r2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ant/ant-1.5.3-r2.ebuild,v 1.1 2003/04/23 11:09:08 absinthe Exp $
+
+S="${WORKDIR}/apache-ant-${PV}-1"
+DESCRIPTION="Java-based build tool similar to 'make' that uses XML configuration files."
+SRC_URI="http://apache.ttlhost.com/${PN}/source/apache-${PN}-${PV}-1-src.tar.bz2"
+HOMEPAGE="http://ant.apache.org"
+LICENSE="Apache-1.1"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha"
+DEPEND="virtual/glibc
+ >=virtual/jdk-1.3"
+RDEPEND=">=virtual/jdk-1.3"
+IUSE="doc"
+
+src_compile() {
+ export JAVA_HOME=${JDK_HOME}
+ if [ `arch` == "ppc" ] ; then
+ # We're compiling _ON_ PPC
+ export THREADS_FLAG="green"
+ fi
+ if [ -f /usr/share/junit/lib/junit.jar ] ; then
+ # make sure junit tasks get built if we have junit
+ export CLASSPATH=/usr/share/junit/lib/junit.jar
+ fi
+ ./build.sh -Ddist.dir=${D}/usr/share/ant || die
+}
+
+src_install() {
+ cp ${FILESDIR}/${PV}/ant ${S}/src/ant
+
+ exeinto /usr/bin
+ doexe src/ant
+
+ dojar build/lib/*.jar build/lib/*.jar
+
+ dodoc LICENSE LICENSE.* README WHATSNEW KEYS
+ use doc && dohtml welcome.html
+ use doc && dohtml -r docs/*
+}
diff --git a/dev-java/ant/files/digest-ant-1.5.3-r2 b/dev-java/ant/files/digest-ant-1.5.3-r2
new file mode 100644
index 000000000000..76649f44e954
--- /dev/null
+++ b/dev-java/ant/files/digest-ant-1.5.3-r2
@@ -0,0 +1 @@
+MD5 b360fe06ad344df9f6e0b3f3ce0f9c60 apache-ant-1.5.3-1-src.tar.bz2 4486166