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