summaryrefslogtreecommitdiffstats
path: root/base/ant/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-09-01 19:02:02 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-09-01 19:02:02 +0200
commit9209414b29d4798191aca5ae048226e78ba6a4c1 (patch)
tree17208db15e7fb41e214dbadf6255371b54c4fe47 /base/ant/Pkgfile
parent550e6e48c6d74e5a4a2a09b6b149408660c3ec27 (diff)
downloadnutyx-extra-9209414b29d4798191aca5ae048226e78ba6a4c1.tar.gz
nutyx-extra-9209414b29d4798191aca5ae048226e78ba6a4c1.tar.bz2
nutyx-extra-9209414b29d4798191aca5ae048226e78ba6a4c1.tar.xz
nutyx-extra-9209414b29d4798191aca5ae048226e78ba6a4c1.zip
ant, correction des emplacements
Diffstat (limited to 'base/ant/Pkgfile')
-rw-r--r--base/ant/Pkgfile23
1 files changed, 23 insertions, 0 deletions
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
+}