diff options
author | tnut <thierryn1 at hispeed dot ch> | 2009-12-18 19:05:33 +0100 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2009-12-18 19:05:33 +0100 |
commit | 9c7dcfff9e648b485a12ce8eb63b9e2fd2fdaae1 (patch) | |
tree | 85c64f677273c7a04b273ae9256e1e1db6dc0ad3 /extra/ant/Pkgfile | |
parent | e0bbc7e0c5353b3bb8fcdf687253d1cf80c89abf (diff) | |
download | nutyx-extra-9c7dcfff9e648b485a12ce8eb63b9e2fd2fdaae1.tar.gz nutyx-extra-9c7dcfff9e648b485a12ce8eb63b9e2fd2fdaae1.tar.bz2 nutyx-extra-9c7dcfff9e648b485a12ce8eb63b9e2fd2fdaae1.tar.xz nutyx-extra-9c7dcfff9e648b485a12ce8eb63b9e2fd2fdaae1.zip |
ant, déplacé dans extra
Diffstat (limited to 'extra/ant/Pkgfile')
-rw-r--r-- | extra/ant/Pkgfile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/extra/ant/Pkgfile b/extra/ant/Pkgfile new file mode 100644 index 000000000..9728cc13b --- /dev/null +++ b/extra/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=ant +version=1.7.1 +release=1 +source=(http://apache.org/dist/ant/source/apache-ant-$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 apache-ant-$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/$name + ln -v -sf /etc/$name $PKG/opt/$name-$version/etc +} + |