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