mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 07:33:48 +02:00
libcap-ng: added python3.4 bindings for native builds.
This commit is contained in:
parent
23e01926c0
commit
88c39611f1
2 changed files with 16 additions and 4 deletions
1
srcpkgs/libcap-ng-python3.4
Symbolic link
1
srcpkgs/libcap-ng-python3.4
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
libcap-ng
|
|
@ -1,9 +1,9 @@
|
||||||
# Template file for 'libcap-ng'
|
# Template file for 'libcap-ng'
|
||||||
pkgname=libcap-ng
|
pkgname=libcap-ng
|
||||||
version=0.7.6
|
version=0.7.6
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="python-devel swig"
|
hostmakedepends="python-devel python3.4-devel swig"
|
||||||
short_desc="An alternate POSIX capabilities library"
|
short_desc="An alternate POSIX capabilities library"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://people.redhat.com/sgrubb/libcap-ng/"
|
homepage="http://people.redhat.com/sgrubb/libcap-ng/"
|
||||||
|
@ -11,10 +11,11 @@ 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=9de3caebcc6248f3e9f8c278068253dee89c39d7ffcd284a10fc6ce2b06a2dff
|
checksum=9de3caebcc6248f3e9f8c278068253dee89c39d7ffcd284a10fc6ce2b06a2dff
|
||||||
|
|
||||||
subpackages="libcap-ng-devel libcap-ng-progs libcap-ng-python"
|
subpackages="libcap-ng-devel libcap-ng-progs libcap-ng-python libcap-ng-python3.4"
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
subpackages="${subpackages/libcap-ng-python/}"
|
subpackages="${subpackages/libcap-ng-python/}"
|
||||||
|
subpackages="${subpackages/libcap-ng-python3.4/}"
|
||||||
configure_args+=" --without-python"
|
configure_args+=" --without-python"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -37,12 +38,22 @@ libcap-ng-progs_package() {
|
||||||
vmove usr/share
|
vmove usr/share
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
libcap-ng-python3.4_package() {
|
||||||
|
lib32disabled=yes
|
||||||
|
short_desc+=" - python3.4 bindings"
|
||||||
|
depends="python3.4"
|
||||||
|
pycompile_module="capng"
|
||||||
|
pycompile_version="3.4"
|
||||||
|
pkg_install() {
|
||||||
|
vmove "usr/lib/python3.4"
|
||||||
|
}
|
||||||
|
}
|
||||||
libcap-ng-python_package() {
|
libcap-ng-python_package() {
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
short_desc+=" - python bindings"
|
short_desc+=" - python bindings"
|
||||||
depends="python"
|
depends="python"
|
||||||
pycompile_module="capng"
|
pycompile_module="capng"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove "usr/lib/python*"
|
vmove "usr/lib/python2*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue