2010-12-23 12:40:11 +01:00
|
|
|
{ stdenv, fetchurl, ncurses }:
|
2005-01-21 19:24:25 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2010-05-27 21:34:03 +02:00
|
|
|
name = "procps-3.2.8";
|
2010-12-23 12:40:11 +01:00
|
|
|
|
2005-01-21 19:24:25 +01:00
|
|
|
src = fetchurl {
|
2010-05-27 21:34:03 +02:00
|
|
|
url = http://procps.sourceforge.net/procps-3.2.8.tar.gz;
|
|
|
|
sha256 = "0d8mki0q4yamnkk4533kx8mc0jd879573srxhg6r2fs3lkc6iv8i";
|
2005-01-21 19:24:25 +01:00
|
|
|
};
|
2010-12-23 12:40:11 +01:00
|
|
|
|
|
|
|
patches =
|
|
|
|
[ ./makefile.patch
|
|
|
|
./procps-build.patch
|
|
|
|
./gnumake3.82.patch
|
|
|
|
./linux-ver-init.patch
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [ ncurses ];
|
|
|
|
|
|
|
|
makeFlags = "DESTDIR=$(out)";
|
|
|
|
|
2012-01-01 21:01:02 +01:00
|
|
|
crossAttrs = {
|
|
|
|
CC = stdenv.cross.config + "-gcc";
|
|
|
|
};
|
|
|
|
|
2010-12-23 12:40:11 +01:00
|
|
|
meta = {
|
|
|
|
homepage = http://procps.sourceforge.net/;
|
|
|
|
description = "Utilities that give information about processes using the /proc filesystem";
|
|
|
|
};
|
2005-01-21 19:24:25 +01:00
|
|
|
}
|