games/warsow: Updated to 0.6.
svn path=/nixpkgs/trunk/; revision=25352
This commit is contained in:
parent
bbedfb4a5e
commit
51282e4a98
|
@ -3,14 +3,14 @@
|
||||||
}:
|
}:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "warsow-${version}";
|
name = "warsow-${version}";
|
||||||
version = "0.5";
|
version = "0.6";
|
||||||
src1 = fetchurl {
|
src1 = fetchurl {
|
||||||
url = "http://static.warsow.net/release/warsow_${version}_sdk.zip";
|
url = "http://www.zcdn.org/dl/warsow_${version}_sdk.zip";
|
||||||
sha256 = "018z83irj6wr5mj4pnya1r4abmg9sqznnkyq0gw9sr9q9dxr7k1m";
|
sha256 = "1mrsr4af4wi04slc2f66rr467rxa15ppny7ms4gxhaqvvki5x3nq";
|
||||||
};
|
};
|
||||||
src2 = fetchurl {
|
src2 = fetchurl {
|
||||||
url = "http://static.warsow.net/release/warsow_${version}_unified.zip";
|
url = "http://www.zcdn.org/dl/warsow_${version}_unified.zip";
|
||||||
sha256 = "002idzqjq41ygjny9kk31fjx7l9clxy4xm38hc5dky6yfx17ib36";
|
sha256 = "0a4407kw86yvr411dd9m0dgp7wdkgd9j4ac32gfz6xprgplqkws3";
|
||||||
};
|
};
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
mkdir warsow_${version}_sdk
|
mkdir warsow_${version}_sdk
|
||||||
|
@ -19,10 +19,6 @@ stdenv.mkDerivation rec {
|
||||||
cd source
|
cd source
|
||||||
unzip $src2 'basewsw/*' -d release
|
unzip $src2 'basewsw/*' -d release
|
||||||
'';
|
'';
|
||||||
patchPhase = ''
|
|
||||||
substituteInPlace Makefile --replace openal-config 'pkg-config openal'
|
|
||||||
substituteInPlace snd_openal/snd_main.c --replace libopenal.so.0 ${openal}/lib/libopenal.so
|
|
||||||
'';
|
|
||||||
buildInputs = [ unzip pkgconfig zlib curl libjpeg libvorbis libXxf86dga
|
buildInputs = [ unzip pkgconfig zlib curl libjpeg libvorbis libXxf86dga
|
||||||
libXxf86vm libXinerama SDL mesa openal ];
|
libXxf86vm libXinerama SDL mesa openal ];
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
|
Loading…
Reference in New Issue