3
0
Fork 0
forked from mirrors/nixpkgs

Fixing package naming in wesnoth broken by r27666

svn path=/nixpkgs/trunk/; revision=29794
This commit is contained in:
Vladimír Čunát 2011-10-12 19:16:15 +00:00
parent e1a97996f7
commit a6db3d5723

View file

@ -3,13 +3,13 @@
, fribidi, asciidoc }:
stdenv.mkDerivation rec {
name = "wesnoth";
pname = "wesnoth";
version = "1.8.6";
pname = "${name}-${version}";
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://sourceforge/sourceforge/${name}/${pname}.tar.bz2";
url = "mirror://sourceforge/sourceforge/${pname}/${name}.tar.bz2";
sha256 = "10c01ys846zsy831gprdy2nx3qlzv65s4jy99lw6misak3x07rjg";
};
@ -26,8 +26,8 @@ stdenv.mkDerivation rec {
configurePhase = ''
./autogen.sh --prefix=$out --with-boost=${boost} \
--with-preferences-dir=.${name} \
--with-datadir-name=${name}
--with-preferences-dir=.${pname} \
--with-datadir-name=${pname}
'';
# Make the package build with the gcc currently available in Nixpkgs.