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