2006-08-31 03:51:41 +02:00
|
|
|
{ swingSupport ? true
|
2008-02-26 16:33:23 +01:00
|
|
|
, stdenv, fetchurl, unzip, makeWrapper, libX11 ? null, libXext ? null
|
2006-08-31 03:51:41 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
assert stdenv.system == "powerpc-linux";
|
|
|
|
|
|
|
|
assert swingSupport -> libX11 != null && libXext != null;
|
|
|
|
|
|
|
|
(stdenv.mkDerivation {
|
|
|
|
name = "jdk-1.5.0";
|
|
|
|
builder = ./ibm-builder.sh;
|
|
|
|
dirname = "ibm-java2-ppc-50";
|
|
|
|
pathname = "/tmp/ibm-java2-sdk-50-linux-ppc.tgz";
|
|
|
|
md5 = "6bed4ae0b24d3eea2914f2f6dcc0ceb4";
|
|
|
|
libraries =
|
|
|
|
(if swingSupport then [libX11 libXext] else []);
|
|
|
|
} // {inherit swingSupport;})
|