mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 02:42:56 +02:00
libcap-ng: disable python pkg in cross builds for now.
This commit is contained in:
parent
434e6c8e71
commit
cb29bf2d2a
1 changed files with 16 additions and 6 deletions
|
@ -3,7 +3,7 @@ pkgname=libcap-ng
|
||||||
version=0.7.1
|
version=0.7.1
|
||||||
revision=2
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
makedepends="python-devel swig"
|
hostmakedepends="python-devel swig"
|
||||||
short_desc="An alternate POSIX capabilities library"
|
short_desc="An alternate POSIX capabilities library"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://people.redhat.com/sgrubb/libcap-ng/"
|
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
|
The libcap-ng library is intended to make programming with posix capabilities
|
||||||
much easier than the traditional libcap library."
|
much easier than the traditional libcap library."
|
||||||
|
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
unset hostmakedepends
|
||||||
|
configure_args+=" --without-python"
|
||||||
|
fi
|
||||||
|
|
||||||
libcap-ng-devel_package() {
|
libcap-ng-devel_package() {
|
||||||
depends="libcap-ng>=${version}"
|
depends="libcap-ng>=${version}"
|
||||||
short_desc+=" -- development files"
|
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() {
|
libcap-ng-python_package() {
|
||||||
short_desc+=" -- python bindings"
|
short_desc+=" -- python bindings"
|
||||||
depends="python"
|
depends="python"
|
||||||
|
@ -48,8 +61,5 @@ libcap-ng-python_package() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
libcap-ng_package() {
|
fi
|
||||||
pkg_install() {
|
|
||||||
vmove usr
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue