2010-07-28 19:35:01 +04:00
|
|
|
{ stdenv, fetchurl, SDL, SDL_image, SDL_mixer, SDL_net, SDL_ttf, pango
|
|
|
|
, gettext, zlib, boost, freetype, libpng, pkgconfig }:
|
2009-03-03 16:27:40 +03:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2008-02-07 00:18:46 +03:00
|
|
|
pname = "wesnoth";
|
2009-12-25 23:56:37 +03:00
|
|
|
version = "1.6.5";
|
2008-02-07 00:18:46 +03:00
|
|
|
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2009-12-25 23:56:37 +03:00
|
|
|
url = "mirror://sourceforge/sourceforge/${pname}/${name}.tar.bz2";
|
|
|
|
sha256 = "1mrhgwp8iw27ifpavnf4y69zf9fqfy7j4sfwkfzsay226sp4gw3y";
|
2008-02-07 00:18:46 +03:00
|
|
|
};
|
|
|
|
|
2010-07-28 19:35:01 +04:00
|
|
|
buildInputs = [ SDL SDL_image SDL_mixer SDL_net SDL_ttf pango gettext zlib boost freetype libpng pkgconfig ];
|
2008-02-07 00:18:46 +03:00
|
|
|
|
|
|
|
configureFlags = "--with-preferences-dir=.${name} --program-suffix=-${version} --with-datadir-name=${name} --with-boost=${boost}/include --disable-python";
|
|
|
|
|
|
|
|
meta = {
|
2009-03-03 16:27:40 +03:00
|
|
|
description = "The Battle for Wesnoth, a free, turn-based strategy game with a fantasy theme";
|
2008-02-07 00:18:46 +03:00
|
|
|
};
|
2009-03-03 16:27:40 +03:00
|
|
|
}
|