diff options
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/ant-contrib/README | 7 | ||||
-rw-r--r-- | libraries/ant-contrib/ant-contrib.SlackBuild | 44 | ||||
-rw-r--r-- | libraries/ant-contrib/ant-contrib.info | 8 | ||||
-rw-r--r-- | libraries/ant-contrib/slack-desc | 18 |
4 files changed, 77 insertions, 0 deletions
diff --git a/libraries/ant-contrib/README b/libraries/ant-contrib/README new file mode 100644 index 0000000000000..82150dd157c57 --- /dev/null +++ b/libraries/ant-contrib/README @@ -0,0 +1,7 @@ +ant-contrib ( apache-ant task libraries) + +The Ant-Contrib project is a collection of tasks (and at one point +maybe types and other tools) for Apache Ant. + +You can pass an alternate value for ANT_HOME if it is not set to +/usr/share/ant on your system. diff --git a/libraries/ant-contrib/ant-contrib.SlackBuild b/libraries/ant-contrib/ant-contrib.SlackBuild new file mode 100644 index 0000000000000..81bd4ea24e054 --- /dev/null +++ b/libraries/ant-contrib/ant-contrib.SlackBuild @@ -0,0 +1,44 @@ +#!/bin/sh + +# Slackware build script for ant-contrib +# Written by Vincent Batts, vbatts@hashbangbash.com + +PRGNAM=ant-contrib +VERSION=0.6 +ARCH=${ARCH:-i486} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +ANT_HOME=${ANT_HOME:-/usr/share/ant} + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf ${PRGNAM}-${VERSION} +mkdir ${PRGNAM}-${VERSION} +cd ${PRGNAM}-${VERSION} +tar xvf $CWD/${PRGNAM}-${VERSION}-bin.tar.bz2 +chown -R root:root . + +mkdir -p $PKG/$ANT_HOME/lib/ $PKG/usr/share/java +cp lib/$PRGNAM-$VERSION.jar $PKG/$ANT_HOME/lib/ +cd $PKG/usr/share/java + ln -s $ANT_HOME/lib/$PRGNAM-$VERSION.jar $PRGNAM.jar +cd - + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a docs/* README.txt $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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 diff --git a/libraries/ant-contrib/ant-contrib.info b/libraries/ant-contrib/ant-contrib.info new file mode 100644 index 0000000000000..773b3762b4fdf --- /dev/null +++ b/libraries/ant-contrib/ant-contrib.info @@ -0,0 +1,8 @@ +PRGNAM="ant-contrib" +VERSION="0.6" +HOMEPAGE="http://ant-contrib.sourceforge.net/" +DOWNLOAD="http://downloads.sourceforge.net/ant-contrib/ant-contrib-0.6-bin.tar.bz2" +MD5SUM="7ae81b632c666b217db8578eb6a795f5" +MAINTAINER="Vincent Batts" +EMAIL="vbatts@hashbangbash.com" +APPROVED="rworkman" diff --git a/libraries/ant-contrib/slack-desc b/libraries/ant-contrib/slack-desc new file mode 100644 index 0000000000000..40e4c906775da --- /dev/null +++ b/libraries/ant-contrib/slack-desc @@ -0,0 +1,18 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +ant-contrib: ant-contrib ( apache-ant task libraries) +ant-contrib: +ant-contrib: The Ant-Contrib project is a collection of tasks (and at one point +ant-contrib: maybe types and other tools) for Apache Ant. +ant-contrib: +ant-contrib: +ant-contrib: Homepage http://ant-contrib.sourceforge.net/ +ant-contrib: +ant-contrib: +ant-contrib: |