From b2ad2a7a7d445aa3e37eed5e640ce2a865299104 Mon Sep 17 00:00:00 2001 From: zangrc Date: Thu, 27 Aug 2020 21:16:23 +0800 Subject: libcap-ng:upgrade 0.7.10 -> 0.7.11 0001-configure.ac-add-library-if-header-found.patch 0002-Wrap-pthread_atfork-usage-in-HAVE_PTHREAD_H.patch Removed since these are included in 0.7.11 Refresh the following patch: python.patch (From OE-Core rev: e883035f13ee86a63eaffe5ac55bf2ce20c5ba10) Signed-off-by: Zang Ruochen Signed-off-by: Richard Purdie --- .../libcap-ng/libcap-ng-python_0.7.11.bb | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 meta/recipes-support/libcap-ng/libcap-ng-python_0.7.11.bb (limited to 'meta/recipes-support/libcap-ng/libcap-ng-python_0.7.11.bb') diff --git a/meta/recipes-support/libcap-ng/libcap-ng-python_0.7.11.bb b/meta/recipes-support/libcap-ng/libcap-ng-python_0.7.11.bb new file mode 100644 index 0000000000..43f76dc561 --- /dev/null +++ b/meta/recipes-support/libcap-ng/libcap-ng-python_0.7.11.bb @@ -0,0 +1,29 @@ +require libcap-ng.inc + +FILESEXTRAPATHS_prepend := "${THISDIR}/libcap-ng:" + +SUMMARY .= " - python" + +inherit lib_package autotools python3native + +DEPENDS += "libcap-ng python3 swig-native" + +S = "${WORKDIR}/libcap-ng-${PV}" + +EXTRA_OECONF += "--with-python --with-python3" +EXTRA_OEMAKE += "PYLIBVER='python${PYTHON_BASEVERSION}${PYTHON_ABI}' PYINC='${STAGING_INCDIR}/${PYLIBVER}'" + +do_install_append() { + rm -rf ${D}${bindir} + rm -rf ${D}${libdir}/.debug + rm -f ${D}${libdir}/lib* + rm -rf ${D}${libdir}/pkgconfig + rm -rf ${D}${datadir} + rm -rf ${D}${includedir} +} + +# PACKAGES = "${PN}" + +FILES_${PN} = "${libdir}/python${PYTHON_BASEVERSION}" +FILES_${PN}-dbg =+ "${PYTHON_SITEPACKAGES_DIR}/.debug/_capng.so" + -- cgit v1.2.3-54-g00ecf