From 14f82b693868dac68f46dc97f3e5357f0e23a904 Mon Sep 17 00:00:00 2001
From: Stefan Fiedler <stefan.fiedler@students.jku.at>
Date: Wed, 21 Sep 2005 08:31:38 +0000
Subject: [PATCH] Stefan Fiedler: 	add ant (1.6.5)

Index: package/java/ant/ant.desc
===================================================================

[2005082712253910884] (https://www.rocklinux.net/submaster)



git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@6378 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
---
 package/java/ant/ant.conf | 37 +++++++++++++++++++++++++++++++++
 package/java/ant/ant.desc | 43 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 80 insertions(+)
 create mode 100644 package/java/ant/ant.conf
 create mode 100644 package/java/ant/ant.desc

diff --git a/package/java/ant/ant.conf b/package/java/ant/ant.conf
new file mode 100644
index 000000000..3c1f3e661
--- /dev/null
+++ b/package/java/ant/ant.conf
@@ -0,0 +1,37 @@
+# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
+# 
+# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
+# Please add additional copyright information _after_ the line containing
+# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
+# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
+# 
+# ROCK Linux: rock-src/package/stf/rte/rte.conf
+# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
+# 
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version. A copy of the GNU General Public
+# License can be found at Documentation/COPYING.
+# 
+# Many people helped and are helping developing ROCK Linux. Please
+# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
+# file for details.
+# 
+# --- ROCK-COPYRIGHT-NOTE-END ---
+
+
+build_ant () {
+	./bootstrap.sh
+	./build.sh
+	
+	mkdir -p /opt/apache-ant-${ver}
+	cp -a dist/* /opt/apache-ant-${ver}
+	
+	cat <<EOF > $root/etc/profile.d/ant
+ANT_HOME=$root/opt/apache-ant-${ver}
+export ANT_HOME
+EOF
+}
+
+custmain="build_ant"
diff --git a/package/java/ant/ant.desc b/package/java/ant/ant.desc
new file mode 100644
index 000000000..5fa99c7e5
--- /dev/null
+++ b/package/java/ant/ant.desc
@@ -0,0 +1,43 @@
+
+[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN ---
+[COPY] 
+[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
+[COPY] Please add additional copyright information _after_ the line containing
+[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
+[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
+[COPY] 
+[COPY] ROCK Linux: rock-src/package/java/ant/ant.desc
+[COPY] ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
+[COPY] 
+[COPY] This program is free software; you can redistribute it and/or modify
+[COPY] it under the terms of the GNU General Public License as published by
+[COPY] the Free Software Foundation; either version 2 of the License, or
+[COPY] (at your option) any later version. A copy of the GNU General Public
+[COPY] License can be found at Documentation/COPYING.
+[COPY] 
+[COPY] Many people helped and are helping developing ROCK Linux. Please
+[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM
+[COPY] file for details.
+[COPY] 
+[COPY] --- ROCK-COPYRIGHT-NOTE-END ---
+
+[I] a Java-based build tool
+
+[T] Apache Ant is a Java-based build tool. In theory, it is kind of like Make,
+[T] but without Make's wrinkles. Ant is extended using Java classes, config
+[T] files are XML-based, and it's absolutely cross-platform.
+
+[U] http://ant.apache.org/
+
+[A] The Apache Ant Team { http://ant.apache.org/contributors.html }
+
+[M] Stefan Fiedler <stefan.fiedler@students.jku.at>
+
+[C] extra/development
+
+[L] OpenSource
+[S] Stable
+[V] 1.6.5
+[P] X -?---5---9 501.000
+
+[D] 438470393 apache-ant-1.6.5-src.tar.bz2 http://www.apache.org/dist/ant/source/