libcap: update to 2.27.

This commit is contained in:
maxice8 2019-04-16 12:44:53 -03:00 committed by maxice8
parent e73eb62ddf
commit 38119460a3
1 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'libcap'
pkgname=libcap
version=2.26
version=2.27
revision=1
bootstrap=yes
makedepends="attr-devel"
@ -9,7 +9,7 @@ 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/${pkgname}-${version}.tar.xz"
checksum=b630b7c484271b3ba867680d6a14b10a86cfa67247a14631b14c06731d5a458b
checksum=dac1792d0118bee6aae6ba7fb93ff1602c6a9bda812fd63916eee1435b9c486a
if [ "$CHROOT_READY" ]; then
hostmakedepends="perl"
@ -23,9 +23,11 @@ do_configure() {
sed -i 's/LDFLAGS :=/LDFLAGS +=/g' Make.Rules
sed -i '/BUILD_CFLAGS/s/$(CFLAGS)//' Make.Rules
}
do_build() {
make CC="$CC" BUILD_CC=cc
}
do_install() {
make DESTDIR=${DESTDIR} MANDIR=/usr/share/man \
SBINDIR=/usr/bin LIBDIR=/usr/lib \
@ -43,6 +45,7 @@ libcap-devel_package() {
vmove usr/lib/pkgconfig
}
}
libcap-progs_package() {
short_desc+=" - utilities"
pkg_install() {