summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Vincent Batts <vbatts@hashbangbash.com>2016-10-26 21:58:05 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-10-27 06:05:14 +0700
commit9a7f8c1eb87e95290966c7b28db15f0037c05aa7 (patch)
treefd29b03c723589f81fb421d4ad3203d56855c1fc
parente67f28cde424c84098145dc47880f31a735aa666 (diff)
downloadslackbuilds-9a7f8c1eb87e95290966c7b28db15f0037c05aa7.tar.gz
slackbuilds-9a7f8c1eb87e95290966c7b28db15f0037c05aa7.tar.xz
development/apache-ant: Update README.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/apache-ant/README10
-rw-r--r--development/apache-ant/apache-ant.SlackBuild3
-rw-r--r--development/apache-ant/apache-ant.info2
3 files changed, 10 insertions, 5 deletions
diff --git a/development/apache-ant/README b/development/apache-ant/README
index 702cbd440a..5203b0d6bd 100644
--- a/development/apache-ant/README
+++ b/development/apache-ant/README
@@ -1,8 +1,12 @@
Apache Ant is a Java-based build tool - like make, but without make's
-wrinkles. :-)
+wrinkles. :-)
-Ant is extended using Java classes. The configuration files are XML-based,
-calling out a target tree where tasks get executed. Each task is run by an
+Ant is extended using Java classes. The configuration files are XML-based,
+calling out a target tree where tasks get executed. Each task is run by an
object that implements a Task interface.
This package is using upstream's recommendation of ANT_HOME=/usr/share/ant
+
+apache-ant uses `javac` and friends to compile java projects. Using the stock
+'gcc-java' package, by exporting JAVA_HOME=/usr/lib{64}/jvm envirnoment
+variable. Or from slackbuilds.org, one of jdk, openjdk* works just fine.
diff --git a/development/apache-ant/apache-ant.SlackBuild b/development/apache-ant/apache-ant.SlackBuild
index d64f069c2f..dd4cf158b3 100644
--- a/development/apache-ant/apache-ant.SlackBuild
+++ b/development/apache-ant/apache-ant.SlackBuild
@@ -30,7 +30,7 @@
PRGNAM=apache-ant
VERSION=${VERSION:-1.9.7}
ARCH=noarch
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
TEAM=$(echo $PRGNAM | cut -d- -f1)
@@ -83,6 +83,7 @@ cd -
mkdir -p $PKG/usr/doc/${PRGNAM}-$VERSION
cp -a INSTALL KEYS NOTICE README WHATSNEW manual/* $PKG/usr/doc/${PRGNAM}-$VERSION
cat $CWD/${PRGNAM}.SlackBuild > $PKG/usr/doc/${PRGNAM}-$VERSION/${PRGNAM}.SlackBuild
+cat $CWD/README > $PKG/usr/doc/${PRGNAM}-$VERSION/README.SBo
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/development/apache-ant/apache-ant.info b/development/apache-ant/apache-ant.info
index 711bd5fb0b..c84adb9209 100644
--- a/development/apache-ant/apache-ant.info
+++ b/development/apache-ant/apache-ant.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://archive.apache.org/dist/ant/binaries/apache-ant-1.9.7-bin.tar.
MD5SUM="99a86981333a0ff39bb56c963d1f492b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES=""
MAINTAINER="Vincent Batts"
EMAIL="vbatts@hashbangbash.com"