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-02-29 10:42:12 +01:00
|
|
|
name = "libcap-2.07";
|
|
|
|
|
2006-12-22 20:22:57 +01:00
|
|
|
src = fetchurl {
|
2008-02-29 10:42:12 +01:00
|
|
|
url = mirror://kernel/linux/libs/security/linux-privs/kernel-2.6/libcap-2.07.tar.gz;
|
|
|
|
sha256 = "1zz8nyqzb15lf31akwyzzfdhyhf9xvl9rqih90m9kypmcmc4yz5q";
|
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 = ''
|
|
|
|
makeFlagsArray=(LIBDIR=$out/lib INCDIR=$out/include SBINDIR=$out/sbin MANDIR=$out/man)
|
|
|
|
'';
|
2006-12-22 20:22:57 +01:00
|
|
|
}
|