diff options
author | zangrc <zangrc.fnst@cn.fujitsu.com> | 2020-11-27 15:08:48 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-11-29 20:23:15 +0000 |
commit | 54c662d28a3b05c6f0172bdc4d4dfb13e9755101 (patch) | |
tree | 6739a39b1a7138468bbd8adb7e6df986f820ebfb /meta/recipes-support/libcap-ng/libcap-ng-python_0.8.1.bb | |
parent | a02f3acdaba1e287b4c54f603470f758221c372f (diff) | |
download | openembedded-core-contrib-54c662d28a3b05c6f0172bdc4d4dfb13e9755101.tar.gz |
libcap-ng: upgrade 0.8 -> 0.8.1
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libcap-ng/libcap-ng-python_0.8.1.bb')
-rw-r--r-- | meta/recipes-support/libcap-ng/libcap-ng-python_0.8.1.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-support/libcap-ng/libcap-ng-python_0.8.1.bb b/meta/recipes-support/libcap-ng/libcap-ng-python_0.8.1.bb new file mode 100644 index 0000000000..43f76dc561 --- /dev/null +++ b/meta/recipes-support/libcap-ng/libcap-ng-python_0.8.1.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" + |