diff --git a/srcpkgs/libcap-ng/template b/srcpkgs/libcap-ng/template index 906d7068f30..5d83d05ffac 100644 --- a/srcpkgs/libcap-ng/template +++ b/srcpkgs/libcap-ng/template @@ -1,7 +1,7 @@ # Template file for 'libcap-ng' pkgname=libcap-ng -version=0.7.4 -revision=2 +version=0.7.5 +revision=1 build_style=gnu-configure hostmakedepends="python-devel swig" short_desc="An alternate POSIX capabilities library" @@ -9,10 +9,12 @@ maintainer="Juan RP " homepage="http://people.redhat.com/sgrubb/libcap-ng/" license="GPL-2, LGPL-2.1" 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 - unset hostmakedepends + subpackages="${subpackages/libcap-ng-python/}" configure_args+=" --without-python" fi @@ -28,7 +30,6 @@ libcap-ng-devel_package() { vmove usr/share/aclocal } } - libcap-ng-progs_package() { short_desc+=" - utilities" pkg_install() { @@ -36,15 +37,12 @@ libcap-ng-progs_package() { vmove usr/share } } - -if [ -z "$CROSS_BUILD" ]; then - libcap-ng-python_package() { - lib32disabled=yes - short_desc+=" - python bindings" - depends="python" - pycompile_module="capng" - pkg_install() { - vmove "usr/lib/python*" - } +libcap-ng-python_package() { + lib32disabled=yes + short_desc+=" - python bindings" + depends="python" + pycompile_module="capng" + pkg_install() { + vmove "usr/lib/python*" } -fi +}