mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
parent
97cf713062
commit
c8a5f50d3e
1 changed files with 2 additions and 8 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'libcap'
|
# Template file for 'libcap'
|
||||||
pkgname=libcap
|
pkgname=libcap
|
||||||
version=2.42
|
version=2.43
|
||||||
revision=1
|
revision=1
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
|
@ -13,7 +13,7 @@ maintainer="skmpz <dem.procopiou@gmail.com>"
|
||||||
license="GPL-2.0-only"
|
license="GPL-2.0-only"
|
||||||
homepage="http://sites.google.com/site/fullycapable/"
|
homepage="http://sites.google.com/site/fullycapable/"
|
||||||
distfiles="${KERNEL_SITE}/libs/security/linux-privs/libcap2/${pkgname}-${version}.tar.xz"
|
distfiles="${KERNEL_SITE}/libs/security/linux-privs/libcap2/${pkgname}-${version}.tar.xz"
|
||||||
checksum=3605a9cb60076547ea9f64989e0ba576da9508e4653e8dc40ae54c0d6f443dfd
|
checksum=512a0e5fc4c1e06d472a20da26aa96a9b9bf2a26b23f094f77f1b8da56cc427f
|
||||||
|
|
||||||
if [ "$CHROOT_READY" ]; then
|
if [ "$CHROOT_READY" ]; then
|
||||||
hostmakedepends="perl"
|
hostmakedepends="perl"
|
||||||
|
@ -22,12 +22,6 @@ if [ "$CHROOT_READY" ]; then
|
||||||
fi
|
fi
|
||||||
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() {
|
libcap-devel_package() {
|
||||||
depends="libcap>=${version}_${revision}"
|
depends="libcap>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
|
|
Loading…
Add table
Reference in a new issue