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";
|
2008-04-08 19:19:15 +01:00
|
|
|
version = "1.4.1";
|
2008-02-06 21:18:46 +00:00
|
|
|
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://surfnet.dl.sourceforge.net/sourceforge/${pname}/${name}.tar.bz2";
|
2008-04-08 19:19:15 +01:00
|
|
|
sha256 = "c5b7b478553dc8994d99024e14b48b3f64e2c328631bd5b05904509b499fa68c";
|
2008-02-06 21:18:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [SDL SDL_image SDL_mixer SDL_net gettext zlib boost freetype];
|
|
|
|
|
|
|
|
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
|
|
|
}
|