2008-02-29 09:42:12 +00:00
|
|
|
{stdenv, fetchurl, attr}:
|
2006-12-22 19:22:57 +00:00
|
|
|
|
2007-05-16 15:54:28 +01:00
|
|
|
assert stdenv.isLinux;
|
|
|
|
|
2006-12-22 19:22:57 +00:00
|
|
|
stdenv.mkDerivation {
|
2008-05-20 10:23:28 +01:00
|
|
|
name = "libcap-2.09";
|
2008-02-29 09:42:12 +00:00
|
|
|
|
2006-12-22 19:22:57 +00:00
|
|
|
src = fetchurl {
|
2008-05-20 10:23:28 +01:00
|
|
|
url = mirror://kernel/linux/libs/security/linux-privs/kernel-2.6/libcap-2.09.tar.bz2;
|
|
|
|
sha256 = "0sq15y8yfm7knf6jhqcycb9wz52n3r1sriii66xk0djvd4hw69jr";
|
2006-12-22 19:22:57 +00:00
|
|
|
};
|
|
|
|
|
2008-02-29 09:42:12 +00:00
|
|
|
buildInputs = [attr];
|
2006-12-22 19:22:57 +00:00
|
|
|
|
2008-02-29 09:42:12 +00:00
|
|
|
preBuild = ''
|
2008-03-26 09:37:09 +00:00
|
|
|
makeFlagsArray=(LIBDIR=$out/lib INCDIR=$out/include SBINDIR=$out/sbin MANDIR=$out/man PAM_CAP=no)
|
2008-02-29 09:42:12 +00:00
|
|
|
'';
|
2006-12-22 19:22:57 +00:00
|
|
|
}
|