mirror of
https://git.yoctoproject.org/poky
synced 2026-02-15 05:03:03 +01:00
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
29 lines
619 B
BlitzBasic
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"
|
|
|