libcap: update to 2.43.

Closes: #24385 [via git-merge-pr]
This commit is contained in:
Anthony Iliopoulos 2020-08-21 19:02:00 +02:00 committed by Andrew J. Hesford
parent 97cf713062
commit c8a5f50d3e

View file

@ -1,6 +1,6 @@
# Template file for 'libcap'
pkgname=libcap
version=2.42
version=2.43
revision=1
bootstrap=yes
build_style=gnu-makefile
@ -13,7 +13,7 @@ maintainer="skmpz <dem.procopiou@gmail.com>"
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=3605a9cb60076547ea9f64989e0ba576da9508e4653e8dc40ae54c0d6f443dfd
checksum=512a0e5fc4c1e06d472a20da26aa96a9b9bf2a26b23f094f77f1b8da56cc427f
if [ "$CHROOT_READY" ]; then
hostmakedepends="perl"
@ -22,12 +22,6 @@ if [ "$CHROOT_READY" ]; then
fi
fi
pre_build() {
vsed -e 's,CC :=,CC ?=,' -i Make.Rules
# Disable tests, as they cause cross-build failure
vsed -e '/test:/,/.sh/d' -e '/tests/d' -i Makefile
}
libcap-devel_package() {
depends="libcap>=${version}_${revision}"
short_desc+=" - development files"