libcap-ng: disable python pkg in cross builds for now.
This commit is contained in:
parent
434e6c8e71
commit
cb29bf2d2a
|
@ -3,7 +3,7 @@ pkgname=libcap-ng
|
|||
version=0.7.1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
makedepends="python-devel swig"
|
||||
hostmakedepends="python-devel swig"
|
||||
short_desc="An alternate POSIX capabilities library"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://people.redhat.com/sgrubb/libcap-ng/"
|
||||
|
@ -19,6 +19,11 @@ long_desc="
|
|||
The libcap-ng library is intended to make programming with posix capabilities
|
||||
much easier than the traditional libcap library."
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
unset hostmakedepends
|
||||
configure_args+=" --without-python"
|
||||
fi
|
||||
|
||||
libcap-ng-devel_package() {
|
||||
depends="libcap-ng>=${version}"
|
||||
short_desc+=" -- development files"
|
||||
|
@ -39,6 +44,14 @@ libcap-ng-progs_package() {
|
|||
}
|
||||
}
|
||||
|
||||
libcap-ng_package() {
|
||||
pkg_install() {
|
||||
vmove usr
|
||||
}
|
||||
}
|
||||
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
|
||||
libcap-ng-python_package() {
|
||||
short_desc+=" -- python bindings"
|
||||
depends="python"
|
||||
|
@ -48,8 +61,5 @@ libcap-ng-python_package() {
|
|||
}
|
||||
}
|
||||
|
||||
libcap-ng_package() {
|
||||
pkg_install() {
|
||||
vmove usr
|
||||
}
|
||||
}
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue