22 lines
638 B
Plaintext
22 lines
638 B
Plaintext
# Packager: Rune Stokka, rune at stokka dot no
|
|
# Maintainer: Simone Rota, sip at crux dot nu
|
|
# Description: Ant is a Java-based build tool.
|
|
# URL: http://ant.apache.org
|
|
# Depends on: jdk
|
|
|
|
name=ant
|
|
version=1.7.1
|
|
release=1
|
|
source=(http://apache.panu.it/ant/binaries/apache-${name}-${version}-bin.tar.bz2)
|
|
|
|
build() {
|
|
cd apache-$name-$version
|
|
mkdir -p $PKG/usr/{bin,lib/ant}
|
|
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
|
|
}
|