diff options
author | Sander van der Burg <s.vanderburg@tudelft.nl> | 2008-01-23 09:58:07 +0000 |
---|---|---|
committer | Sander van der Burg <s.vanderburg@tudelft.nl> | 2008-01-23 09:58:07 +0000 |
commit | 8c9f87cd0c81e9b26883aadce15007d793844434 (patch) | |
tree | a689013dced2302c0efecbb3a7610e05f9123b4a /pkgs/tools/misc/mc | |
parent | 1128aed05df6816a865fffed97004f1e33cdd1d8 (diff) |
Added midnight commander package
svn path=/nixpkgs/trunk/; revision=10257
Diffstat (limited to 'pkgs/tools/misc/mc')
-rw-r--r-- | pkgs/tools/misc/mc/builder.sh | 7 | ||||
-rw-r--r-- | pkgs/tools/misc/mc/default.nix | 11 |
2 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/tools/misc/mc/builder.sh b/pkgs/tools/misc/mc/builder.sh new file mode 100644 index 0000000000000..28b5d68b55aaf --- /dev/null +++ b/pkgs/tools/misc/mc/builder.sh @@ -0,0 +1,7 @@ +source $stdenv/setup + +tar xfvz $src +cd mc-* +./configure --prefix=$out --with-screen=ncurses +make +make install diff --git a/pkgs/tools/misc/mc/default.nix b/pkgs/tools/misc/mc/default.nix new file mode 100644 index 0000000000000..9400cbbf44364 --- /dev/null +++ b/pkgs/tools/misc/mc/default.nix @@ -0,0 +1,11 @@ +{stdenv, fetchurl, pkgconfig, glib, ncurses, libX11}: + +stdenv.mkDerivation { + name = "mc-4.6.1"; + src = fetchurl { + url = http://www.ibiblio.org/pub/Linux/utils/file/managers/mc/mc-4.6.1.tar.gz; + md5 = "18b20db6e40480a53bac2870c56fc3c4"; + }; + buildInputs = [pkgconfig glib ncurses libX11]; + builder = ./builder.sh; +} |