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