Added midnight commander package

svn path=/nixpkgs/trunk/; revision=10257
This commit is contained in:
Sander van der Burg 2008-01-23 09:58:07 +00:00
parent 1128aed05d
commit 8c9f87cd0c
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,7 @@
source $stdenv/setup
tar xfvz $src
cd mc-*
./configure --prefix=$out --with-screen=ncurses
make
make install

View File

@ -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;
}