nixpkgs/pkgs/development/compilers/abc/polyglot/builder.sh

12 lines
249 B
Bash
Raw Normal View History

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