2007-09-06 17:30:38 +02:00
|
|
|
source $stdenv/setup
|
2004-07-10 18:17:48 +02:00
|
|
|
|
2007-09-06 17:30:38 +02:00
|
|
|
mkdir -p $out/bin
|
2004-07-10 18:17:48 +02:00
|
|
|
|
|
|
|
cat >> $out/bin/ant <<EOF
|
|
|
|
#! /bin/sh
|
|
|
|
|
2005-09-18 01:58:51 +02:00
|
|
|
export JAVA_HOME=$jdk
|
|
|
|
export JAVACMD=$jdk/bin/java
|
2004-07-10 18:17:48 +02:00
|
|
|
export ANT_OPTS=""
|
|
|
|
export ANT_ARGS=""
|
2004-08-09 23:28:26 +02:00
|
|
|
export LANG="en_US"
|
2004-07-10 18:17:48 +02:00
|
|
|
|
2004-07-12 15:41:37 +02:00
|
|
|
$ant/bin/core-ant \$@
|
2004-07-10 18:17:48 +02:00
|
|
|
EOF
|
|
|
|
|
2007-09-06 17:30:38 +02:00
|
|
|
chmod a+x $out/bin/ant
|
|
|
|
|
|
|
|
ln -s $ant/lib $ant/etc $out/
|
|
|
|
|
|
|
|
|