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

12 lines
160 B
Bash

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