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