# vim: set syn=sh et ai sw=2 st=2 ts=2 tw=0: #Packager: JRD pkgname=ant pkgver=1.8.2 pkgrel=1cp arch=noarch source=(http://apache.multidist.com/${pkgname}/binaries/apache-${pkgname}-${pkgver}-bin.tar.bz2) sourcetemplate=http://enialis.net/~jrd/salix/$pkgname/$pkgver-\$arch-$pkgrel/ docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "notice" "whatsnew") url=http://ant.apache.org/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (Java library and command-line tool)" "Ant's mission is to drive processes described in build files as" "targets and extension points dependent upon each other. The main known" "usage of Ant is the build of Java applications. Ant supplies a number" "of built-in tasks allowing to compile, assemble, test and run Java" "applications. Ant can also be used effectively to build non Java" "applications, for instance C or C++ applications. More generally, Ant" "can be used to pilot any type of process which can be described in" "terms of targets and tasks." ) build() { cd $startdir/src/apache-$pkgname-$pkgver || return 1 mkdir -p $startdir/pkg/usr/share/ant cp -r * $startdir/pkg/usr/share/ant/ mkdir -p $startdir/pkg/usr/bin (cd $startdir/pkg/usr/bin; ln -s /usr/share/ant/bin/ant .) }