2005-12-05 15:11:09 +01:00
|
|
|
source $stdenv/setup || exit 1
|
2004-09-26 15:03:59 +02:00
|
|
|
|
|
|
|
mkdir -p $out/bin || exit 1
|
|
|
|
|
|
|
|
cat >> $out/bin/jing <<EOF
|
|
|
|
#! /bin/sh
|
|
|
|
|
2005-09-18 01:58:51 +02:00
|
|
|
export JAVA_HOME=$jre
|
2004-09-26 15:03:59 +02:00
|
|
|
export LANG="en_US"
|
|
|
|
|
2005-09-18 01:58:51 +02:00
|
|
|
$jre/bin/java -jar $jing/bin/jing.jar \$@
|
2004-09-26 15:03:59 +02:00
|
|
|
EOF
|
|
|
|
|
|
|
|
chmod a+x $out/bin/jing || exit 1
|