forked from mirrors/nixpkgs
82e678362f
svn path=/nixpkgs/trunk/; revision=4335
14 lines
233 B
Bash
Executable file
14 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/
|
|
|