2018-02-24 14:12:44 +01:00
|
|
|
{stdenv, fetchurl, SDL, SDL_mixer, SDL_net, libGLU_combined}:
|
2010-08-11 22:14:25 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "prboom-2.5.0";
|
|
|
|
src = fetchurl {
|
|
|
|
url = mirror://sourceforge/prboom/prboom-2.5.0.tar.gz;
|
|
|
|
sha256 = "1bjb04q8dk232956k30qlpq6q0hxb904yh1nflr87jcc1x3iqv12";
|
|
|
|
};
|
|
|
|
|
2018-02-24 14:12:44 +01:00
|
|
|
buildInputs = [ SDL SDL_mixer SDL_net libGLU_combined ];
|
2010-08-11 22:14:25 +02:00
|
|
|
crossAttrs = {
|
2012-12-28 19:08:19 +01:00
|
|
|
propagatedBuildInputs = [ SDL.crossDrv SDL_mixer.crossDrv SDL_net.crossDrv ];
|
2010-08-11 22:14:25 +02:00
|
|
|
configureFlags = "--disable-gl --disable-cpu-opt --without-x --disable-sdltest
|
|
|
|
ac_cv_type_uid_t=yes ac_cv_type_gid_t=yes";
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
mv $out/games/ $out/bin
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|