* Rogue 5.4.4.
svn path=/nixpkgs/trunk/; revision=12745
This commit is contained in:
parent
e64067e28b
commit
86173ade50
@ -1,21 +1,17 @@
|
||||
{stdenv, fetchurl, ncurses}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "rogue-5.4.2";
|
||||
name = "rogue-5.4.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://rogue.rogueforge.net/files/rogue5.4/rogue5.4.2-src.tar.gz;
|
||||
md5 = "bd656cb017a579eba835a0ee445a0a32";
|
||||
url = http://rogue.rogueforge.net/files/rogue5.4/rogue5.4.4-src.tar.gz;
|
||||
sha256 = "18g81274d0f7sr04p7h7irz0d53j6kd9j1y3zbka1gcqq0gscdvx";
|
||||
};
|
||||
setSourceRoot = "sourceRoot=.";
|
||||
|
||||
buildInputs = [ncurses];
|
||||
preBuild = "
|
||||
ln -s ${ncurses}/include ncurses
|
||||
substituteInPlace Makefile --replace curses ncurses
|
||||
";
|
||||
installPhase = "
|
||||
ensureDir $out/bin
|
||||
cp rogue54 $out/bin
|
||||
ln -s rogue54 $out/bin/rogue
|
||||
";
|
||||
NIX_CFLAGS_COMPILE = "-I.";
|
||||
|
||||
meta = {
|
||||
homepage = http://rogue.rogueforge.net/rogue-5-4/;
|
||||
description = "The final version of the original Rogue game developed for the UNIX operating system";
|
||||
};
|
||||
}
|
||||
|
@ -130,6 +130,8 @@ let
|
||||
# };
|
||||
overrideSetup = stdenv: setup: stdenv.regenerate setup;
|
||||
|
||||
stdenvNew = overrideSetup stdenv ../stdenv/generic/setup-new.sh;
|
||||
|
||||
# Return a modified stdenv that uses dietlibc to create small
|
||||
# statically linked binaries.
|
||||
useDietLibC = stdenv: stdenv //
|
||||
|
Loading…
Reference in New Issue
Block a user