summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-support/libcap-ng/libcap-ng-python_0.8.5.bb18
-rw-r--r--meta/recipes-support/libcap-ng/libcap-ng.inc4
-rw-r--r--meta/recipes-support/libcap-ng/libcap-ng_0.8.5.bb2
3 files changed, 7 insertions, 17 deletions
diff --git a/meta/recipes-support/libcap-ng/libcap-ng-python_0.8.5.bb b/meta/recipes-support/libcap-ng/libcap-ng-python_0.8.5.bb
index 4790134ae9..f8a6b2c317 100644
--- a/meta/recipes-support/libcap-ng/libcap-ng-python_0.8.5.bb
+++ b/meta/recipes-support/libcap-ng/libcap-ng-python_0.8.5.bb
@@ -4,26 +4,16 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/libcap-ng:"
4 4
5SUMMARY .= " - python" 5SUMMARY .= " - python"
6 6
7inherit lib_package autotools python3targetconfig 7inherit python3targetconfig
8 8
9# drop setuptools when version > 0.8.3 is released; it's needed only for distutils 9DEPENDS += "libcap-ng python3 swig-native"
10DEPENDS += "libcap-ng python3 swig-native python3-setuptools-native"
11 10
12S = "${WORKDIR}/libcap-ng-${PV}" 11S = "${WORKDIR}/libcap-ng-${PV}"
13 12
14EXTRA_OECONF += "--with-python3" 13EXTRA_OECONF += "--with-python3"
15 14
16do_install:append() { 15do_install() {
17 rm -rf ${D}${bindir} 16 oe_runmake 'DESTDIR=${D}' install -C ${B}/bindings/python3
18 rm -rf ${D}${libdir}/.debug
19 rm -f ${D}${libdir}/lib*
20 rm -rf ${D}${libdir}/pkgconfig
21 rm -rf ${D}${datadir}
22 rm -rf ${D}${includedir}
23} 17}
24 18
25# PACKAGES = "${PN}"
26
27FILES:${PN} = "${libdir}/python${PYTHON_BASEVERSION}" 19FILES:${PN} = "${libdir}/python${PYTHON_BASEVERSION}"
28FILES:${PN}-dbg =+ "${PYTHON_SITEPACKAGES_DIR}/.debug/_capng.so"
29
diff --git a/meta/recipes-support/libcap-ng/libcap-ng.inc b/meta/recipes-support/libcap-ng/libcap-ng.inc
index 12b4002d11..85b51c4dc6 100644
--- a/meta/recipes-support/libcap-ng/libcap-ng.inc
+++ b/meta/recipes-support/libcap-ng/libcap-ng.inc
@@ -1,7 +1,7 @@
1SUMMARY = "An alternate posix capabilities library" 1SUMMARY = "An alternate posix capabilities library"
2DESCRIPTION = "The libcap-ng library is intended to make programming \ 2DESCRIPTION = "The libcap-ng library is intended to make programming \
3with POSIX capabilities much easier than the traditional libcap library." 3with POSIX capabilities much easier than the traditional libcap library."
4HOMEPAGE = "http://freecode.com/projects/libcap-ng" 4HOMEPAGE = "https://github.com/stevegrubb/libcap-ng"
5SECTION = "base" 5SECTION = "base"
6LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later" 6LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later"
7LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ 7LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
@@ -13,6 +13,8 @@ SRC_URI = "https://people.redhat.com/sgrubb/libcap-ng/libcap-ng-${PV}.tar.gz \
13 13
14SRC_URI[sha256sum] = "3ba5294d1cbdfa98afaacfbc00b6af9ed2b83e8a21817185dfd844cc8c7ac6ff" 14SRC_URI[sha256sum] = "3ba5294d1cbdfa98afaacfbc00b6af9ed2b83e8a21817185dfd844cc8c7ac6ff"
15 15
16inherit lib_package autotools
17
16EXTRA_OECONF:append:class-target = " --with-capability_header=${STAGING_INCDIR}/linux/capability.h" 18EXTRA_OECONF:append:class-target = " --with-capability_header=${STAGING_INCDIR}/linux/capability.h"
17EXTRA_OECONF:append:class-nativesdk = " --with-capability_header=${STAGING_INCDIR}/linux/capability.h" 19EXTRA_OECONF:append:class-nativesdk = " --with-capability_header=${STAGING_INCDIR}/linux/capability.h"
18 20
diff --git a/meta/recipes-support/libcap-ng/libcap-ng_0.8.5.bb b/meta/recipes-support/libcap-ng/libcap-ng_0.8.5.bb
index 3dbe3e2ffd..b482368a41 100644
--- a/meta/recipes-support/libcap-ng/libcap-ng_0.8.5.bb
+++ b/meta/recipes-support/libcap-ng/libcap-ng_0.8.5.bb
@@ -1,7 +1,5 @@
1require libcap-ng.inc 1require libcap-ng.inc
2 2
3inherit lib_package autotools
4
5EXTRA_OECONF += "--without-python3" 3EXTRA_OECONF += "--without-python3"
6 4
7BBCLASSEXTEND = "native nativesdk" 5BBCLASSEXTEND = "native nativesdk"