nixpkgs/pkgs/development/compilers/abc/polyglot/builder.sh
Eelco Dolstra c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00

11 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/