nixpkgs/pkgs/development/libraries/java/cup/builder.sh
Martin Bravenboer 951023ee8a Moved a number of Java libraries from the GW project to the Nix
Package Collection.


svn path=/nixpkgs/trunk/; revision=3803
2005-09-11 15:38:59 +00:00

14 lines
232 B
Bash
Executable file

set -e
. $stdenv/setup
tar zxvf $src
$j2sdk/bin/javac java_cup/*.java
$j2sdk/bin/javac java_cup/runtime/*.java
mkdir -p $out/java_cup/runtime
cp java_cup/*.class $out/java_cup
cp java_cup/runtime/*.class $out/java_cup/runtime/