Browse Source

d/apache-ant: Updated for Slackware-13.0.

slackware-14.2
Damien Goutte-Gattat 12 years ago
parent
commit
9340702aaa
  1. 8
      d/apache-ant/apache-ant.SlackBuild
  2. 6
      d/apache-ant/slack-desc

8
d/apache-ant/apache-ant.SlackBuild

@ -33,9 +33,10 @@ WGET=${WGET:-ftp://mir1.ovh.net/ftp.apache.org/dist/ant/binaries/$ARCHIVE}
# Built package infos
NAMETGZ=${NAMETGZ:-apache-ant}
BUILD=${BUILD:-1GGD}
BUILD=${BUILD:-2GGD}
ARCH=${ARCH:-noarch}
TARGET=${TARGET:-i486}
EXT=${EXT:-txz}
# Directories
TMP=${TMP:-/tmp}
@ -57,7 +58,8 @@ fi
# Get and verify the source archive
if [ ! -r $ARCHIVE ]; then
wget "$WGET"
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha1sum -c $ARCHIVE.sha1
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
@ -93,7 +95,7 @@ cd $PKG
mkdir -p $OUT
PACKAGING="
chown root:root . -R
/sbin/makepkg -l y -c n $OUT/$NAMETGZ-$VERSION-$ARCH-$BUILD.tgz
/sbin/makepkg -l y -c n $OUT/$NAMETGZ-$VERSION-$ARCH-$BUILD.$EXT
rm -rf $PKG
rm -rf $TMP/$NAME
"

6
d/apache-ant/slack-desc

@ -1,12 +1,12 @@
|-----handy-ruler------------------------------------------------------|
|-----handy-ruler---------------------------------------------------|
apache-ant: apache-ant (Java-based build tool)
apache-ant:
apache-ant: Ant is a Java-based build tool. In theory it is kind of like
apache-ant: "make" without makes wrinkles and with the full portability of
apache-ant: pure Java code.
apache-ant:
apache-ant: [Packager's note: Yeah, sure. Have a look at the launch scripts,
apache-ant: and talk about "full portability"...]
apache-ant:
apache-ant:
apache-ant:
apache-ant:
apache-ant:

Loading…
Cancel
Save