libcap: update to 2.28
Update to 2.28 and some template cleanup Signed-off-by: Nathan Owens <ndowens04@gmail.com>
This commit is contained in:
parent
b1088a025e
commit
565e0f8f32
|
@ -1,15 +1,19 @@
|
|||
# Template file for 'libcap'
|
||||
pkgname=libcap
|
||||
version=2.27
|
||||
version=2.28
|
||||
revision=1
|
||||
bootstrap=yes
|
||||
build_style=gnu-makefile
|
||||
make_install_args="SBINDIR=/usr/bin exec_prefix=/usr
|
||||
LIBDIR=/usr/lib PKGCONFIGDIR=/usr/lib/pkgconfig RAISE_SETFCAP=no"
|
||||
make_use_env=yes
|
||||
makedepends="attr-devel"
|
||||
short_desc="POSIX.1e capabilities suite"
|
||||
maintainer="Orphaned <orphan@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=dac1792d0118bee6aae6ba7fb93ff1602c6a9bda812fd63916eee1435b9c486a
|
||||
checksum=c0e70c3bcce288ada2bfe8d748e816b601590495312222e92e307cf18d6a38aa
|
||||
|
||||
if [ "$CHROOT_READY" ]; then
|
||||
hostmakedepends="perl"
|
||||
|
@ -18,20 +22,10 @@ if [ "$CHROOT_READY" ]; then
|
|||
fi
|
||||
fi
|
||||
|
||||
do_configure() {
|
||||
sed -i 's/CFLAGS :=/CFLAGS +=/g' Make.Rules
|
||||
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 \
|
||||
RAISE_SETFCAP=no PKGCONFIGDIR=/usr/lib/pkgconfig install
|
||||
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() {
|
||||
|
|
Loading…
Reference in New Issue