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 < $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 + +[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/