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

12 lines
249 B
Bash

source $stdenv/setup
tar zxvf $src || fail
cd polyglot-* || fail
$apacheAnt/bin/ant polyglot-jar || fail
$apacheAnt/bin/ant cup || fail
ensureDir $out/jars/ || fail
mv lib/java_cup.jar $out/jars/ || fail
mv lib/polyglot*.jar $out/jars/ || fail