nixpkgs/pkgs/development/libraries/java/cup/builder.sh
Eelco Dolstra 82e678362f * "." -> "source".
svn path=/nixpkgs/trunk/; revision=4335
2005-12-05 14:11:09 +00:00

13 lines
233 B
Bash
Executable file

set -e
source $stdenv/setup
tar zxvf $src
$jdk/bin/javac java_cup/*.java
$jdk/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/