32 lines
919 B
Bash
32 lines
919 B
Bash
# Template file for 'libcap-pam'
|
|
pkgname=libcap-pam
|
|
version=2.27
|
|
revision=1
|
|
wrksrc="libcap-${version}"
|
|
hostmakedepends="gperf perl pam-devel"
|
|
makedepends="pam-devel attr-devel"
|
|
short_desc="POSIX.1e capabilities suite - PAM module"
|
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
|
license="GPL-2.0-only"
|
|
homepage="http://sites.google.com/site/fullycapable/"
|
|
distfiles="${KERNEL_SITE}/libs/security/linux-privs/libcap2/libcap-${version}.tar.xz"
|
|
checksum=dac1792d0118bee6aae6ba7fb93ff1602c6a9bda812fd63916eee1435b9c486a
|
|
|
|
conf_files="/etc/security/capability.conf"
|
|
|
|
do_build() {
|
|
make CC="$CC" BUILD_CC=cc
|
|
}
|
|
|
|
do_install() {
|
|
_destdir=${wrksrc}/temp_install
|
|
|
|
make DESTDIR=${_destdir} MANDIR=/usr/share/man \
|
|
SBINDIR=/usr/sbin LIBDIR=/usr/lib \
|
|
RAISE_SETFCAP=no PKGCONFIGDIR=/usr/lib/pkgconfig install
|
|
|
|
vinstall pam_cap/capability.conf 644 etc/security
|
|
vmkdir usr/lib
|
|
mv ${_destdir}/usr/lib/security ${DESTDIR}/usr/lib
|
|
}
|