2009-01-11 16:05:35 +01:00
|
|
|
# Description: Ant is a Java-based build tool.
|
|
|
|
# URL: http://ant.apache.org/
|
|
|
|
# Packager: Rune Stokka, rune at stokka dot no
|
2009-05-14 10:51:09 +02:00
|
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
2009-01-11 16:05:35 +01:00
|
|
|
# Depends on: jdk
|
|
|
|
|
|
|
|
name=ant
|
2010-04-17 02:59:22 +02:00
|
|
|
version=1.8.0
|
2009-01-11 16:05:35 +01:00
|
|
|
release=1
|
2010-04-17 02:59:22 +02:00
|
|
|
source=(http://www.apache.org/dist/ant/binaries/apache-$name-$version-bin.tar.bz2)
|
2009-01-11 16:05:35 +01:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd apache-$name-$version
|
2009-05-14 10:51:09 +02:00
|
|
|
install -d $PKG/usr/{bin,lib/ant}
|
2009-01-11 16:05:35 +01:00
|
|
|
cp -rf * $PKG/usr/lib/ant
|
|
|
|
ln -sf /usr/lib/ant/bin/ant $PKG/usr/bin/ant
|
|
|
|
rm -rf $PKG/usr/lib/ant/bin/*.bat
|
|
|
|
rm -rf $PKG/usr/lib/ant/docs
|
|
|
|
rm -rf $PKG/usr/lib/ant/{welcome.html,TODO,KEYS,LICENS*,README,NOTICE,WHATSNEW,INSTALL}
|
|
|
|
rm -rf $PKG/usr/lib/ant/lib/README
|
|
|
|
}
|