forked from mirrors/nixpkgs
b43c421658
* Added SWT for GTK (built from source). * Added Azureus (a Bittorrent client written in Java). svn path=/nixpkgs/trunk/; revision=4438
17 lines
258 B
Bash
17 lines
258 B
Bash
source $stdenv/setup
|
|
|
|
unzip $src src.zip
|
|
unzip src.zip
|
|
|
|
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
|