mirror of
https://git.yoctoproject.org/poky
synced 2026-03-29 23:02:20 +02:00
Changelog: https://people.redhat.com/sgrubb/libcap-ng/ChangeLog - Remove python global exception handler since it's deprecated - Make the utilities link against just built libraries - Remove unused macro in cap-ng.h (From OE-Core rev: 98151fbd4864fb5c6728b7faed0ad83723f962ef) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
30 lines
714 B
BlitzBasic
30 lines
714 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"
|
|
|
|
S = "${WORKDIR}/libcap-ng-${PV}"
|
|
|
|
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"
|
|
|