libcap-ng: update to 0.7.5.
This commit is contained in:
parent
fbf74cb3a1
commit
66d6813b27
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'libcap-ng'
|
# Template file for 'libcap-ng'
|
||||||
pkgname=libcap-ng
|
pkgname=libcap-ng
|
||||||
version=0.7.4
|
version=0.7.5
|
||||||
revision=2
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="python-devel swig"
|
hostmakedepends="python-devel swig"
|
||||||
short_desc="An alternate POSIX capabilities library"
|
short_desc="An alternate POSIX capabilities library"
|
||||||
|
@ -9,10 +9,12 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://people.redhat.com/sgrubb/libcap-ng/"
|
homepage="http://people.redhat.com/sgrubb/libcap-ng/"
|
||||||
license="GPL-2, LGPL-2.1"
|
license="GPL-2, LGPL-2.1"
|
||||||
distfiles="http://people.redhat.com/sgrubb/$pkgname/$pkgname-$version.tar.gz"
|
distfiles="http://people.redhat.com/sgrubb/$pkgname/$pkgname-$version.tar.gz"
|
||||||
checksum=48a2083276f9820cb92dcb05d001b30733bcbf48c14c230303cac3cd08b45b6b
|
checksum=7ba01e73c027e4f17bff6cdd77c01b25987e58ed14e422a437e14df6e2dbca31
|
||||||
|
|
||||||
|
subpackages="libcap-ng-devel libcap-ng-progs libcap-ng-python"
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
unset hostmakedepends
|
subpackages="${subpackages/libcap-ng-python/}"
|
||||||
configure_args+=" --without-python"
|
configure_args+=" --without-python"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -28,7 +30,6 @@ libcap-ng-devel_package() {
|
||||||
vmove usr/share/aclocal
|
vmove usr/share/aclocal
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
libcap-ng-progs_package() {
|
libcap-ng-progs_package() {
|
||||||
short_desc+=" - utilities"
|
short_desc+=" - utilities"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
|
@ -36,15 +37,12 @@ libcap-ng-progs_package() {
|
||||||
vmove usr/share
|
vmove usr/share
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
libcap-ng-python_package() {
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
lib32disabled=yes
|
||||||
libcap-ng-python_package() {
|
short_desc+=" - python bindings"
|
||||||
lib32disabled=yes
|
depends="python"
|
||||||
short_desc+=" - python bindings"
|
pycompile_module="capng"
|
||||||
depends="python"
|
pkg_install() {
|
||||||
pycompile_module="capng"
|
vmove "usr/lib/python*"
|
||||||
pkg_install() {
|
|
||||||
vmove "usr/lib/python*"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
fi
|
}
|
||||||
|
|
Loading…
Reference in New Issue