games/warsow: Fixed OpenAL support.

svn path=/nixpkgs/trunk/; revision=25353
This commit is contained in:
Alexander Tsamutali 2011-01-02 23:52:25 +00:00
parent 51282e4a98
commit a5d31be527

View File

@ -19,6 +19,9 @@ stdenv.mkDerivation rec {
cd source
unzip $src2 'basewsw/*' -d release
'';
patchPhase = ''
substituteInPlace snd_openal/snd_main.c --replace libopenal.so.1 ${openal}/lib/libopenal.so.1
'';
buildInputs = [ unzip pkgconfig zlib curl libjpeg libvorbis libXxf86dga
libXxf86vm libXinerama SDL mesa openal ];
installPhase = ''