nixpkgs/pkgs/development/compilers/abc/soot/builder.sh
Martin Bravenboer 799e451a26 Updated abc to version 1.2.0
svn path=/nixpkgs/trunk/; revision=6021
2006-08-02 17:27:42 +00:00

20 lines
406 B
Bash

source $stdenv/setup
tar zxvf $src || fail
cd soot-* || fail
export NIX_ANT_OPTS="$ANT_OPTS -Xmx200m"
cat > ant.settings <<EOF
polyglot.jar=$polyglot/jars/polyglot.jar
jasmin.jar=$jasmin/jars/jasmin.jar
soot.version=foo
release.loc=lib
javaapi.url=http://java.sun.com/j2se/1.4.2/docs/api/
EOF
ant classesjar || fail
ensureDir $out/jars/ || fail
mv lib/sootclasses-foo.jar $out/jars/soot.jar || fail