2006-03-26 05:21:32 +02:00
|
|
|
source $stdenv/setup
|
|
|
|
|
2008-04-23 09:34:20 +02:00
|
|
|
tar zxvf $src
|
|
|
|
cd soot-*
|
2006-03-26 05:21:32 +02:00
|
|
|
|
2006-08-02 19:27:42 +02:00
|
|
|
export NIX_ANT_OPTS="$ANT_OPTS -Xmx200m"
|
|
|
|
|
2006-03-26 05:21:32 +02:00
|
|
|
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
|
|
|
|
|
2008-04-23 09:34:20 +02:00
|
|
|
ant classesjar
|
2006-03-26 05:21:32 +02:00
|
|
|
|
2008-04-23 09:34:20 +02:00
|
|
|
ensureDir $out/jars/
|
|
|
|
mv lib/sootclasses-foo.jar $out/jars/soot.jar
|