mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 04:33:57 +00:00
18 lines
379 B
Bash
18 lines
379 B
Bash
|
source $stdenv/setup
|
||
|
|
||
|
tar zxvf $src || fail
|
||
|
cd soot-* || fail
|
||
|
|
||
|
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
|
||
|
|
||
|
$apacheAnt/bin/ant classesjar || fail
|
||
|
|
||
|
ensureDir $out/jars/ || fail
|
||
|
mv lib/sootclasses-foo.jar $out/jars/soot.jar || fail
|