summaryrefslogtreecommitdiffstats
path: root/extra/ant/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2011-03-09 20:47:54 +0100
committertnut <thierryn1 at hispeed dot ch>2011-03-09 20:47:54 +0100
commitb027a6a17a468be4df03885e14270aaf3a6d33eb (patch)
tree1a646126d092c330c7330a7b16a3f6d5e05a8d3c /extra/ant/Pkgfile
parent4ff901ab1531e63a8df2f44f582216dc148032b5 (diff)
downloadnutyx-extra-b027a6a17a468be4df03885e14270aaf3a6d33eb.tar.gz
nutyx-extra-b027a6a17a468be4df03885e14270aaf3a6d33eb.tar.bz2
nutyx-extra-b027a6a17a468be4df03885e14270aaf3a6d33eb.tar.xz
nutyx-extra-b027a6a17a468be4df03885e14270aaf3a6d33eb.zip
ant dans ouvert*
Diffstat (limited to 'extra/ant/Pkgfile')
-rw-r--r--extra/ant/Pkgfile34
1 files changed, 0 insertions, 34 deletions
diff --git a/extra/ant/Pkgfile b/extra/ant/Pkgfile
deleted file mode 100644
index f16b710fe..000000000
--- a/extra/ant/Pkgfile
+++ /dev/null
@@ -1,34 +0,0 @@
-# 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
-# Run on: jdk,junit
-
-name=ant
-version=1.7.1
-release=1
-
-source=(http://archive.apache.org/dist/ant/source/apache-ant-$version-src.tar.bz2\
- apache-ant.sh)
-
-
-build() {
- source /etc/profile
- 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
-}
-
-