mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 02:42:56 +02:00
libcap: update to 2.27.
This commit is contained in:
parent
e73eb62ddf
commit
38119460a3
1 changed files with 5 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'libcap'
|
# Template file for 'libcap'
|
||||||
pkgname=libcap
|
pkgname=libcap
|
||||||
version=2.26
|
version=2.27
|
||||||
revision=1
|
revision=1
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
makedepends="attr-devel"
|
makedepends="attr-devel"
|
||||||
|
@ -9,7 +9,7 @@ maintainer="Juan RP <xtraeme@voidlinux.org>"
|
||||||
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=b630b7c484271b3ba867680d6a14b10a86cfa67247a14631b14c06731d5a458b
|
checksum=dac1792d0118bee6aae6ba7fb93ff1602c6a9bda812fd63916eee1435b9c486a
|
||||||
|
|
||||||
if [ "$CHROOT_READY" ]; then
|
if [ "$CHROOT_READY" ]; then
|
||||||
hostmakedepends="perl"
|
hostmakedepends="perl"
|
||||||
|
@ -23,9 +23,11 @@ do_configure() {
|
||||||
sed -i 's/LDFLAGS :=/LDFLAGS +=/g' Make.Rules
|
sed -i 's/LDFLAGS :=/LDFLAGS +=/g' Make.Rules
|
||||||
sed -i '/BUILD_CFLAGS/s/$(CFLAGS)//' Make.Rules
|
sed -i '/BUILD_CFLAGS/s/$(CFLAGS)//' Make.Rules
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
make CC="$CC" BUILD_CC=cc
|
make CC="$CC" BUILD_CC=cc
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
make DESTDIR=${DESTDIR} MANDIR=/usr/share/man \
|
make DESTDIR=${DESTDIR} MANDIR=/usr/share/man \
|
||||||
SBINDIR=/usr/bin LIBDIR=/usr/lib \
|
SBINDIR=/usr/bin LIBDIR=/usr/lib \
|
||||||
|
@ -43,6 +45,7 @@ libcap-devel_package() {
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
libcap-progs_package() {
|
libcap-progs_package() {
|
||||||
short_desc+=" - utilities"
|
short_desc+=" - utilities"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue