diff options
Diffstat (limited to 'development/apache-ant')
-rw-r--r-- | development/apache-ant/README | 4 | ||||
-rw-r--r-- | development/apache-ant/apache-ant.SlackBuild | 18 | ||||
-rw-r--r-- | development/apache-ant/apache-ant.info | 10 | ||||
-rw-r--r-- | development/apache-ant/slack-desc | 4 |
4 files changed, 23 insertions, 13 deletions
diff --git a/development/apache-ant/README b/development/apache-ant/README index 3236ae09c9..b48176fc2c 100644 --- a/development/apache-ant/README +++ b/development/apache-ant/README @@ -1,5 +1,5 @@ -Apache Ant is a Java-based build tool - like make, but without make's -wrinkles. :-) +Apache Ant is a Java library and command-line tool that help +building software. Ant is extended using Java classes. The configuration files are XML-based, calling out a target tree where tasks get executed. Each diff --git a/development/apache-ant/apache-ant.SlackBuild b/development/apache-ant/apache-ant.SlackBuild index 9a97d02b27..c8fe843283 100644 --- a/development/apache-ant/apache-ant.SlackBuild +++ b/development/apache-ant/apache-ant.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for apache-ant @@ -27,17 +27,27 @@ # Started by Dugan Chen (dugan[underscore]c[at]fastmail[dot]fm) # Taken over by Vincent Batts (vbatts@hashbangbash.com) +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=apache-ant -VERSION=${VERSION:-1.9.14} +VERSION=${VERSION:-1.10.12} ARCH=noarch BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} TEAM=$(echo $PRGNAM | cut -d- -f1) PROJECT=$(echo $PRGNAM | cut -d- -f2) ANT_HOME=/usr/share/$PROJECT -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -89,4 +99,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.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/development/apache-ant/apache-ant.info b/development/apache-ant/apache-ant.info index b5b82484d9..90802daf2e 100644 --- a/development/apache-ant/apache-ant.info +++ b/development/apache-ant/apache-ant.info @@ -1,10 +1,10 @@ PRGNAM="apache-ant" -VERSION="1.9.14" +VERSION="1.10.12" HOMEPAGE="http://ant.apache.org/" -DOWNLOAD="https://archive.apache.org/dist/ant/binaries/apache-ant-1.9.14-bin.tar.bz2" -MD5SUM="04ea0b503e1fd3a4e375009d021e98da" +DOWNLOAD="https://archive.apache.org/dist/ant/binaries/apache-ant-1.10.12-bin.tar.bz2" +MD5SUM="a63962139a5e031940ef4f48ea11298a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Luc Van Rompaey" -EMAIL="luc.vanrompaey@gmail.com" +MAINTAINER="Yousha Aleayoub" +EMAIL="yousha.a@hotmail.com" diff --git a/development/apache-ant/slack-desc b/development/apache-ant/slack-desc index 55f136179b..d7077812ed 100644 --- a/development/apache-ant/slack-desc +++ b/development/apache-ant/slack-desc @@ -8,8 +8,8 @@ |-----handy-ruler------------------------------------------------------| apache-ant: apache-ant (Java-based build tool) apache-ant: -apache-ant: Apache Ant is a Java-based build tool - like make but without -apache-ant: make's wrinkles. +apache-ant: Apache Ant is a Java library and command-line tool that help +apache-ant: building software. apache-ant: apache-ant: Ant is extended using Java classes. The configuration files are apache-ant: XML-based, calling out a target tree where tasks get executed. |