From 9209414b29d4798191aca5ae048226e78ba6a4c1 Mon Sep 17 00:00:00 2001 From: Thierry N Date: Tue, 1 Sep 2009 19:02:02 +0200 Subject: ant, correction des emplacements --- base/ant/Pkgfile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 base/ant/Pkgfile (limited to 'base/ant/Pkgfile') diff --git a/base/ant/Pkgfile b/base/ant/Pkgfile new file mode 100644 index 000000000..b504caf4a --- /dev/null +++ b/base/ant/Pkgfile @@ -0,0 +1,23 @@ +# Description: Outils basés sur Java +# URL: http://ant.apache.org/ +# Maintainer: NutyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: jdk + +name=ant +version=1.7.1 +release=2 +source=(http://archive.apache.org/dist/ant/binaries/apache-ant-$version-bin.tar.bz2) + + +build() { + cd apache-ant-$version + mkdir -p $PKG/etc/profile.d + install -d $PKG/usr/{bin,lib/ant} + cp -rf * $PKG/usr/lib/ant + ln -sf /usr/lib/ant/bin/ant $PKG/usr/bin/ant + rm -r $PKG/usr/lib/ant/bin/*.bat + rm -r $PKG/usr/lib/ant/docs + rm -r $PKG/usr/lib/ant/{KEYS,LICENS*,README,NOTICE,WHATSNEW,INSTALL} + rm -r $PKG/usr/lib/ant/lib/README +} -- cgit v1.2.3-70-g09d2