mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
25de2c279b
libcap can be splitted for free (just cd subdir; make install). So I've decided not to raise up disscussions "should we build cap_pam.so?" etc. svn path=/nixpkgs/branches/stdenv-updates/; revision=23967
16 lines
247 B
Nix
16 lines
247 B
Nix
{stdenv, libcap}:
|
|
|
|
assert stdenv.isLinux;
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libcap-docs-${libcap.version}";
|
|
|
|
inherit (libcap) src;
|
|
|
|
makeFlags = "MANDIR=$(out)/share/man";
|
|
|
|
preConfigure = "cd doc";
|
|
|
|
postInstall = libcap.postinst name;
|
|
}
|