summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libcap-ng/libcap-ng_0.8.2.bb
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2020-12-23 10:23:26 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-12-24 08:25:10 +0000
commit9965c3b6663ef7a39c6b4c3ed2826acdc42c7c45 (patch)
tree698d6d37b5b24109c7e897d96d1509d6e5bf7ec5 /meta/recipes-support/libcap-ng/libcap-ng_0.8.2.bb
parent86d657364bb2ed859ed7151d56cca431104d8279 (diff)
downloadopenembedded-core-9965c3b6663ef7a39c6b4c3ed2826acdc42c7c45.tar.gz
openembedded-core-9965c3b6663ef7a39c6b4c3ed2826acdc42c7c45.tar.bz2
openembedded-core-9965c3b6663ef7a39c6b4c3ed2826acdc42c7c45.zip
libcap-ng: upgrade 0.8.1 -> 0.8.2
SRC_URI update: http -> https Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libcap-ng/libcap-ng_0.8.2.bb')
-rw-r--r--meta/recipes-support/libcap-ng/libcap-ng_0.8.2.bb17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/recipes-support/libcap-ng/libcap-ng_0.8.2.bb b/meta/recipes-support/libcap-ng/libcap-ng_0.8.2.bb
new file mode 100644
index 0000000000..6e6de45494
--- /dev/null
+++ b/meta/recipes-support/libcap-ng/libcap-ng_0.8.2.bb
@@ -0,0 +1,17 @@
+require libcap-ng.inc
+
+inherit lib_package autotools
+
+EXTRA_OECONF += "--without-python --without-python3"
+
+BBCLASSEXTEND = "native nativesdk"
+
+do_install_append() {
+ # Moving libcap-ng to base_libdir
+ if [ ! ${D}${libdir} -ef ${D}${base_libdir} ]; then
+ mkdir -p ${D}/${base_libdir}/
+ mv -f ${D}${libdir}/libcap-ng.so.* ${D}${base_libdir}/
+ relpath=${@os.path.relpath("${base_libdir}", "${libdir}")}
+ ln -sf ${relpath}/libcap-ng.so.0.0.0 ${D}${libdir}/libcap-ng.so
+ fi
+}