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