nixpkgs/pkgs/development/libraries/java/cup/builder.sh
Martin Bravenboer 4c70ef7e5d Cleaning up the java naming conventions
svn path=/nixpkgs/trunk/; revision=3871
2005-09-17 23:58:51 +00:00

14 lines
228 B
Bash
Executable file

set -e
. $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/