void-packages/srcpkgs/libcap/template
2012-07-12 23:59:46 +02:00

29 lines
962 B
Plaintext

# Template file for 'libcap'
pkgname=libcap
version=2.22
revision=7
subpackages="$pkgname-devel $pkgname-pam $pkgname-progs"
makedepends="perl pam-devel attr-devel"
short_desc="POSIX.1e capabilities library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://sites.google.com/site/fullycapable/"
license="GPL-2"
distfiles="ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${version}.tar.gz"
#distfiles="${KERNEL_SITE}/libs/security/linux-privs/libcap2/$pkgname-$version.tar.bz2"
checksum=e1cae65d8febf2579be37c255d2e058715785ead481a4e6a4357a06aff84721f
long_desc="
libcap is a library for getting and setting POSIX.1e (formerly POSIX 6)
draft 15 capabilities."
do_build() {
make ${makejobs}
}
do_install() {
make DESTDIR=${DESTDIR} MANDIR=${DESTDIR}/usr/share/man \
SBINDIR=${DESTDIR}/usr/sbin LIBDIR=${DESTDIR}/usr/lib \
RAISE_SETFCAP=no install
vinstall pam_cap/capability.conf 644 etc/security
chmod 755 ${DESTDIR}/usr/lib/libcap.so.*
}