diff options
author | Zang Ruochen <zangrc.fnst@cn.fujitsu.com> | 2019-10-21 13:50:52 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-10-23 16:30:36 +0100 |
commit | c90c3062ba622ca586aceb33792834a11c606285 (patch) | |
tree | e653590cd1ded3e7c6444d7713a2a562426be446 /meta/recipes-support/libcap-ng/libcap-ng_0.7.10.bb | |
parent | 82342ab6d4a9b93642fedfb911c9b4b022077439 (diff) | |
download | poky-c90c3062ba622ca586aceb33792834a11c606285.tar.gz |
libcap-ng:upgrade 0.7.9 -> 0.7.10
(From OE-Core rev: 1d5ab1936c9fdf5d2613562ab1ace920089de49b)
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_0.7.10.bb')
-rw-r--r-- | meta/recipes-support/libcap-ng/libcap-ng_0.7.10.bb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/recipes-support/libcap-ng/libcap-ng_0.7.10.bb b/meta/recipes-support/libcap-ng/libcap-ng_0.7.10.bb new file mode 100644 index 0000000000..6e6de45494 --- /dev/null +++ b/meta/recipes-support/libcap-ng/libcap-ng_0.7.10.bb | |||
@@ -0,0 +1,17 @@ | |||
1 | require libcap-ng.inc | ||
2 | |||
3 | inherit lib_package autotools | ||
4 | |||
5 | EXTRA_OECONF += "--without-python --without-python3" | ||
6 | |||
7 | BBCLASSEXTEND = "native nativesdk" | ||
8 | |||
9 | do_install_append() { | ||
10 | # Moving libcap-ng to base_libdir | ||
11 | if [ ! ${D}${libdir} -ef ${D}${base_libdir} ]; then | ||
12 | mkdir -p ${D}/${base_libdir}/ | ||
13 | mv -f ${D}${libdir}/libcap-ng.so.* ${D}${base_libdir}/ | ||
14 | relpath=${@os.path.relpath("${base_libdir}", "${libdir}")} | ||
15 | ln -sf ${relpath}/libcap-ng.so.0.0.0 ${D}${libdir}/libcap-ng.so | ||
16 | fi | ||
17 | } | ||