diff options
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 | } | ||