2005-12-26 01:51:24 +01:00
|
|
|
source $stdenv/setup
|
|
|
|
|
|
|
|
unzip $src src.zip
|
|
|
|
unzip src.zip
|
|
|
|
|
2011-01-24 20:57:15 +01:00
|
|
|
export JAVA_HOME=${jdk}
|
|
|
|
echo $JAVA_HOME=${jdk}
|
2005-12-26 01:51:24 +01:00
|
|
|
sh ./build.sh make_swt make_atk
|
|
|
|
|
|
|
|
ensureDir $out/lib
|
|
|
|
cp *.so $out/lib
|
|
|
|
|
|
|
|
mkdir out
|
|
|
|
javac -d out/ $(find org/ -name "*.java")
|
|
|
|
|
|
|
|
ensureDir $out/jars
|
|
|
|
cp version.txt out/
|
|
|
|
cd out && jar -c * > $out/jars/swt.jar
|