2004-07-10 18:17:48 +02:00
|
|
|
. $stdenv/setup || exit 1
|
|
|
|
|
|
|
|
mkdir -p $out/bin || exit 1
|
|
|
|
|
|
|
|
cat >> $out/bin/ant <<EOF
|
|
|
|
#! /bin/sh
|
|
|
|
|
|
|
|
export JAVA_HOME=$j2sdk
|
|
|
|
export JAVACMD=$j2sdk/bin/java
|
|
|
|
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
|
|
|
|
|
|
|
|
chmod a+x $out/bin/ant || exit 1
|