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