[build] type = "makefile" [build.flags] makefile_commands = [ "make prefix=/usr lib=lib CC=\"$CC\"", ] build_32 = true makefile_install_commands = [ "make DESTDIR=\"$DESTDIR\" prefix=/usr lib=lib install CC=\"$CC\"", "mkdir -pv \"$DESTDIR/etc/security\"", "install -v -m644 pam_cap/capability.conf \"$DESTDIR/etc/security\"", ] keep = [ "etc/security/*" ] [dependencies] runtime = [ "glibc", "pam" ] [dependencies.lib32] runtime = [ "lib32-glibc", "lib32-pam" ] [package] description = "userspace interface to the POSIX 1003.1e capabilities available in Linux kernels" homepage = "https://sites.google.com/site/fullycapable" license = "BSD-3-Clause OR GPL-2.0-only" name = "libcap" version = "2.77" revision = 3 [[source]] extract_dir = "$name-$version" post_extract = ["sed -i '/install -m.*STA/d' libcap/Makefile"] sha256 = "5e339f5ab434bf5b7979f65437ca24942ddcd6e6a3e57347370cd791bc0ea51c" url = "https://git.kernel.org/pub/scm/libs/libcap/libcap.git/snapshot/libcap-$version.tar.gz" patches = [ "no-bash.patch", "libcap-2.77-host-build-cc.patch" ] [[manual_sources]] files = [ "postinstall.sh", "postupdate.sh", "libcap-2.77-host-build-cc.patch", "no-bash.patch" ]