libcap: rebuild to use our CFLAGS.

This commit is contained in:
Juan RP 2014-09-22 11:34:23 +02:00
parent 74c0d50169
commit 122768dbcb
1 changed files with 2 additions and 4 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'libcap'
pkgname=libcap
version=2.24
revision=1
revision=2
hostmakedepends="gperf perl"
makedepends="attr-devel"
short_desc="POSIX.1e capabilities suite"
@ -12,9 +12,8 @@ distfiles="${KERNEL_SITE}/libs/security/linux-privs/libcap2/$pkgname-$version.ta
checksum=cee4568f78dc851d726fc93f25f4ed91cc223b1fe8259daa4a77158d174e6c65
do_build() {
make CC="$CC" BUILD_CC=cc
make CC="$CC" BUILD_CC=cc CFLAGS="$CFLAGS"
}
do_install() {
make DESTDIR=${DESTDIR} MANDIR=${DESTDIR}/usr/share/man \
SBINDIR=${DESTDIR}/usr/sbin LIBDIR=${DESTDIR}/usr/lib \
@ -34,7 +33,6 @@ libcap-devel_package() {
vmove usr/lib/pkgconfig
}
}
libcap-progs_package() {
short_desc+=" - utilities"
pkg_install() {