c556a6ea46
function, so obsolete it. svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
20 lines
363 B
Bash
20 lines
363 B
Bash
source $stdenv/setup
|
|
|
|
tar zxvf $src
|
|
cd soot-*
|
|
|
|
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
|
|
|
|
mkdir -p $out/jars/
|
|
mv lib/sootclasses-foo.jar $out/jars/soot.jar
|