diff options
author | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-07 14:49:05 +0200 |
---|---|---|
committer | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-07 14:49:05 +0200 |
commit | 2d277663aa53f52a1cc26d871e98aa6f67c35f75 (patch) | |
tree | 2f3e1a0e3c57d9a4be807b42e252cedff3bf5d1e /base | |
parent | 2531971be89a6e0d5cff2c5aab24d5df3fb1ce8e (diff) | |
download | nutyx-pakxe-2d277663aa53f52a1cc26d871e98aa6f67c35f75.tar.gz nutyx-pakxe-2d277663aa53f52a1cc26d871e98aa6f67c35f75.tar.bz2 nutyx-pakxe-2d277663aa53f52a1cc26d871e98aa6f67c35f75.tar.xz nutyx-pakxe-2d277663aa53f52a1cc26d871e98aa6f67c35f75.zip |
Ajout de apache-ant#1.7.1-1
Diffstat (limited to 'base')
-rw-r--r-- | base/apache-ant/Pkgfile | 30 | ||||
-rw-r--r-- | base/apache-ant/apache-ant.sh | 2 |
2 files changed, 32 insertions, 0 deletions
diff --git a/base/apache-ant/Pkgfile b/base/apache-ant/Pkgfile new file mode 100644 index 000000000..693801237 --- /dev/null +++ b/base/apache-ant/Pkgfile @@ -0,0 +1,30 @@ +# Description: Outils basés sur Java +# URL: http://ant.apache.org/ +# Maintainer: NutyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: jdk, junit + +name=apache-ant +version=1.7.1 +release=1 +source=(http://apache.org/dist/ant/source/$name-$version-src.tar.bz2\ + apache-ant.sh) + + +build() { + export CLASSPATH=$CLASSPATH:/usr/share/junit-4.5/junit-4.5.jar:/usr/share/junit-4.5 + cd $name-$version + sed -i 's|/etc/ant.conf|/etc/ant/ant.conf|' src/script/ant + mkdir dist + ./build.sh -Ddist.dir=dist/ dist + mkdir $PKG/opt + mkdir -p $PKG/etc/{profile.d,ant} + touch $PKG/etc/ant/ant.conf + export ANT_HOME=$PKG/opt/ant-$version +# export JAVA_HOME=/opt/jdk + ./build.sh install-lite + install -m644 ../apache-ant.sh $PKG/etc/profile.d/ + ln -svf ant-$version $PKG/opt/ant + ln -v -sf /etc/ant $PKG/opt/ant-$version/etc +} + diff --git a/base/apache-ant/apache-ant.sh b/base/apache-ant/apache-ant.sh new file mode 100644 index 000000000..0e7f59518 --- /dev/null +++ b/base/apache-ant/apache-ant.sh @@ -0,0 +1,2 @@ +export PATH=$PATH:/opt/ant/bin +export ANT_HOME=/opt/ant |