nixpkgs/pkgs/development/compilers/abc/jasmin/builder.sh
Martin Bravenboer d88e2ea70f Added abc 1.1.1.
svn path=/nixpkgs/trunk/; revision=5109
2006-03-26 03:21:32 +00:00

20 lines
379 B
Bash

source $stdenv/setup
tar zxvf $src || fail
cd jasmin-* || fail
cat > ant.settings <<EOF
java_cup.jar=$javaCup
# Location in which to generate Jasmin release tarballs
release.loc=lib
# Version of Jasmin for tagging tarballs
jasmin.version=foo
EOF
$apacheAnt/bin/ant jasmin-jar || fail
ensureDir $out/jars/ || fail
mv lib/jasminclasses-foo.jar $out/jars/jasmin.jar || fail