summaryrefslogtreecommitdiff
path: root/development/apache-ant/apache-ant.SlackBuild
diff options
context:
space:
mode:
authorVincent Batts <vbatts@hashbangbash.com>2010-05-13 00:24:13 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:24:13 +0200
commitcf1177da02dd92be9c6920a076110fb53947f27f (patch)
tree47d6b7618a1c73839b580d2b044321f37b31981d /development/apache-ant/apache-ant.SlackBuild
parent7daf065cdba1a23b0f3ec3c1a07c0fc939a4452a (diff)
downloadslackbuilds-cf1177da02dd92be9c6920a076110fb53947f27f.tar.gz
development/apache-ant: Updated for version 1.8.0
Diffstat (limited to 'development/apache-ant/apache-ant.SlackBuild')
-rw-r--r--development/apache-ant/apache-ant.SlackBuild22
1 files changed, 11 insertions, 11 deletions
diff --git a/development/apache-ant/apache-ant.SlackBuild b/development/apache-ant/apache-ant.SlackBuild
index 65a3a49684..58527bab7d 100644
--- a/development/apache-ant/apache-ant.SlackBuild
+++ b/development/apache-ant/apache-ant.SlackBuild
@@ -1,18 +1,18 @@
#!/bin/sh
# Slackware build script for apache-ant
-# Started by Dugan Chen (dugan_c@fastmail.fm)
+# Started by Dugan Chen (dugan[underscore]c[at]fastmail[dot]fm)
# Taken over by Vincent Batts (vbatts@hashbangbash.com)
PRGNAM=apache-ant
-VERSION=1.7.1
-ARCH=${ARCH:-i486}
-BUILD=${BUILD:-2}
+VERSION=1.8.0
+ARCH=noarch
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
TEAM=$(echo $PRGNAM | cut -d- -f1)
PROJECT=$(echo $PRGNAM | cut -d- -f2)
-ANT_HOME=${ANT_HOME:-/usr/share/$PROJECT}
+ANT_HOME=/usr/share/$PROJECT
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
@@ -50,11 +50,11 @@ cd $PKG/usr/share/java
cd -
cd $PKG/usr/bin
- ln -s ../share/$PROJECT/bin/ant
- ln -s ../share/$PROJECT/bin/antRun
- ln -s ../share/$PROJECT/bin/antRun.pl
- ln -s ../share/$PROJECT/bin/runant.pl
- ln -s ../share/$PROJECT/bin/runant.py
+ ln -s $ANT_HOME/bin/ant
+ ln -s $ANT_HOME/bin/antRun
+ ln -s $ANT_HOME/bin/antRun.pl
+ ln -s $ANT_HOME/bin/runant.pl
+ ln -s $ANT_HOME/bin/runant.py
cd -
mkdir -p $PKG/usr/doc/${PRGNAM}-$VERSION
@@ -66,4 +66,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/${PRGNAM}-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}