Files
poky/meta/recipes-support/libcap-ng/libcap-ng-python_0.8.2.bb
Richard Purdie b567f5f59e libcap-ng: Replace python patch with a better fix
By using the python3targetconfig class we can drop the existing python
patch and the extra make parameters.

(From OE-Core rev: 3bbebc39235f50af4d66e3284b67c1491d2c93f2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00

29 lines
619 B
BlitzBasic

require libcap-ng.inc
FILESEXTRAPATHS_prepend := "${THISDIR}/libcap-ng:"
SUMMARY .= " - python"
inherit lib_package autotools python3targetconfig
DEPENDS += "libcap-ng python3 swig-native"
S = "${WORKDIR}/libcap-ng-${PV}"
EXTRA_OECONF += "--with-python --with-python3"
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"