Files
poky/meta/recipes-support/libcap-ng/libcap-ng-python_0.8.5.bb
Changqing Li d40d52e8de libcap-ng: update SRC_URI
Refer [1], people.redhat.com has certificate issue, so update SRC_URI
to fix do_fetch warning

[1] https://github.com/stevegrubb/libcap-ng/issues/56

(From OE-Core rev: ba5d05337c97ec14d00939f02ecdd6aeab126822)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-03 05:39:12 -07:00

28 lines
680 B
BlitzBasic

require libcap-ng.inc
FILESEXTRAPATHS:prepend := "${THISDIR}/libcap-ng:"
SUMMARY .= " - python"
inherit lib_package autotools python3targetconfig
# drop setuptools when version > 0.8.3 is released; it's needed only for distutils
DEPENDS += "libcap-ng python3 swig-native python3-setuptools-native"
EXTRA_OECONF += "--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"