summaryrefslogtreecommitdiffstats
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rw-r--r--extra/ant/.footprint34
-rw-r--r--extra/ant/.md5sum2
-rw-r--r--extra/ant/Pkgfile30
-rw-r--r--extra/ant/apache-ant.sh2
4 files changed, 68 insertions, 0 deletions
diff --git a/extra/ant/.footprint b/extra/ant/.footprint
new file mode 100644
index 000000000..2c319bb38
--- /dev/null
+++ b/extra/ant/.footprint
@@ -0,0 +1,34 @@
+drwxr-xr-x root/root etc/
+drwxr-xr-x root/root etc/ant/
+-rw-r--r-- root/root etc/ant/ant.conf (EMPTY)
+drwxr-xr-x root/root etc/profile.d/
+-rw-r--r-- root/root etc/profile.d/apache-ant.sh
+drwxr-xr-x root/root opt/
+lrwxrwxrwx root/root opt/ant -> ant-1.7.1
+drwxr-xr-x root/root opt/ant-1.7.1/
+drwxr-xr-x root/root opt/ant-1.7.1/bin/
+-rwxr-xr-x root/root opt/ant-1.7.1/bin/ant
+-rw-r--r-- root/root opt/ant-1.7.1/bin/ant.bat
+-rw-r--r-- root/root opt/ant-1.7.1/bin/ant.cmd
+-rwxr-xr-x root/root opt/ant-1.7.1/bin/antRun
+-rw-r--r-- root/root opt/ant-1.7.1/bin/antRun.bat
+-rwxr-xr-x root/root opt/ant-1.7.1/bin/antRun.pl
+-rw-r--r-- root/root opt/ant-1.7.1/bin/antenv.cmd
+-rwxr-xr-x root/root opt/ant-1.7.1/bin/complete-ant-cmd.pl
+-rw-r--r-- root/root opt/ant-1.7.1/bin/envset.cmd
+-rw-r--r-- root/root opt/ant-1.7.1/bin/lcp.bat
+-rwxr-xr-x root/root opt/ant-1.7.1/bin/runant.pl
+-rwxr-xr-x root/root opt/ant-1.7.1/bin/runant.py
+-rw-r--r-- root/root opt/ant-1.7.1/bin/runrc.cmd
+lrwxrwxrwx root/root opt/ant-1.7.1/etc -> /etc/ant
+drwxr-xr-x root/root opt/ant-1.7.1/lib/
+-rw-r--r-- root/root opt/ant-1.7.1/lib/ant-jmf.jar
+-rw-r--r-- root/root opt/ant-1.7.1/lib/ant-junit.jar
+-rw-r--r-- root/root opt/ant-1.7.1/lib/ant-launcher.jar
+-rw-r--r-- root/root opt/ant-1.7.1/lib/ant-nodeps.jar
+-rw-r--r-- root/root opt/ant-1.7.1/lib/ant-swing.jar
+-rw-r--r-- root/root opt/ant-1.7.1/lib/ant-testutil.jar
+-rw-r--r-- root/root opt/ant-1.7.1/lib/ant-trax.jar
+-rw-r--r-- root/root opt/ant-1.7.1/lib/ant.jar
+-rw-r--r-- root/root opt/ant-1.7.1/lib/xercesImpl.jar
+-rw-r--r-- root/root opt/ant-1.7.1/lib/xml-apis.jar
diff --git a/extra/ant/.md5sum b/extra/ant/.md5sum
new file mode 100644
index 000000000..7668734af
--- /dev/null
+++ b/extra/ant/.md5sum
@@ -0,0 +1,2 @@
+0d68db4a1ada5c91bcbf53cefd0c2fd7 apache-ant-1.7.1-src.tar.bz2
+a67aebb7c47a9ec72c45a430fc50f6fc apache-ant.sh
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
+}
+
diff --git a/extra/ant/apache-ant.sh b/extra/ant/apache-ant.sh
new file mode 100644
index 000000000..0e7f59518
--- /dev/null
+++ b/extra/ant/apache-ant.sh
@@ -0,0 +1,2 @@
+export PATH=$PATH:/opt/ant/bin
+export ANT_HOME=/opt/ant