2008-01-28 20:49:59 +01:00
|
|
|
args: with args;
|
2008-01-23 10:58:07 +01:00
|
|
|
|
2008-01-28 20:49:59 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2008-01-23 10:58:07 +01:00
|
|
|
name = "mc-4.6.1";
|
|
|
|
src = fetchurl {
|
2008-01-28 20:49:59 +01:00
|
|
|
url = "http://www.ibiblio.org/pub/Linux/utils/file/managers/mc/${name}.tar.gz";
|
|
|
|
sha256 = "0zly25mwdn84s0wqx9mzyqi177mm828716nv1n6a4a5cm8yv0sh8";
|
2008-01-23 10:58:07 +01:00
|
|
|
};
|
2008-02-04 00:33:54 +01:00
|
|
|
buildInputs = [pkgconfig glib ncurses libX11 shebangfix perl zip];
|
2008-01-28 20:49:59 +01:00
|
|
|
configureFlags = "--with-screen=ncurses";
|
2008-02-05 10:34:39 +01:00
|
|
|
makeFlags = "UNZIP=unzip";
|
|
|
|
postInstall = ''
|
|
|
|
find $out -iname "*.pl" | xargs shebangfix;
|
|
|
|
'';
|
2008-01-28 20:49:59 +01:00
|
|
|
meta = {
|
2008-02-05 10:34:39 +01:00
|
|
|
description = "File Manager and User Shell for the GNU Project";
|
|
|
|
homepage = http://www.ibiblio.org/mc;
|
2008-01-28 20:49:59 +01:00
|
|
|
};
|
2008-01-23 10:58:07 +01:00
|
|
|
}
|
2008-01-28 20:49:59 +01:00
|
|
|
|