nixpkgs/pkgs/development/compilers/abc/polyglot/builder.sh
Martin Bravenboer 799e451a26 Updated abc to version 1.2.0
svn path=/nixpkgs/trunk/; revision=6021
2006-08-02 17:27:42 +00:00

12 lines
219 B
Bash

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