diff options
author | Xin Ouyang <Xin.Ouyang@windriver.com> | 2012-03-27 17:23:52 +0800 |
---|---|---|
committer | Xin Ouyang <Xin.Ouyang@windriver.com> | 2012-03-27 17:23:52 +0800 |
commit | 4c22ee425203d4b19e495403cf59437026f874ed (patch) | |
tree | 27edd887160490bc0d7ed8247389b52968c8b881 | |
parent | b1508dbf5b9e147ff19df89da0ad8d77d27b4df7 (diff) | |
download | meta-selinux-4c22ee425203d4b19e495403cf59437026f874ed.tar.gz |
libsemanage: Change to the default install path.
-rw-r--r-- | recipes-security/selinux/libsemanage_2.1.6.bb | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/recipes-security/selinux/libsemanage_2.1.6.bb b/recipes-security/selinux/libsemanage_2.1.6.bb index 7333155..8359e68 100644 --- a/recipes-security/selinux/libsemanage_2.1.6.bb +++ b/recipes-security/selinux/libsemanage_2.1.6.bb | |||
@@ -23,7 +23,7 @@ FILES_${PN}-python = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/*" | |||
23 | FILES_${PN}-dbg += "${libdir}/python${PYTHON_BASEVERSION}/site-packages/.debug/*" | 23 | FILES_${PN}-dbg += "${libdir}/python${PYTHON_BASEVERSION}/site-packages/.debug/*" |
24 | 24 | ||
25 | do_compile_append() { | 25 | do_compile_append() { |
26 | oe_runmake pywrap -j1 \ | 26 | oe_runmake pywrap \ |
27 | INCLUDEDIR='${STAGING_INCDIR}' \ | 27 | INCLUDEDIR='${STAGING_INCDIR}' \ |
28 | LIBDIR='${STAGING_LIBDIR}' \ | 28 | LIBDIR='${STAGING_LIBDIR}' \ |
29 | PYLIBVER='python${PYTHON_BASEVERSION}' \ | 29 | PYLIBVER='python${PYTHON_BASEVERSION}' \ |
@@ -32,14 +32,18 @@ do_compile_append() { | |||
32 | PYTHONLIBDIR='${PYLIB}' | 32 | PYTHONLIBDIR='${PYLIB}' |
33 | } | 33 | } |
34 | 34 | ||
35 | do_install_append() { | 35 | do_install() { |
36 | oe_runmake install \ | ||
37 | DESTDIR="${D}" \ | ||
38 | PREFIX="${D}/${prefix}" \ | ||
39 | INCLUDEDIR="${D}/${includedir}" \ | ||
40 | LIBDIR="${D}/${libdir}" \ | ||
41 | SHLIBDIR="${D}/${libdir}" | ||
42 | |||
36 | oe_runmake install-pywrap swigify \ | 43 | oe_runmake install-pywrap swigify \ |
37 | DESTDIR=${D} \ | 44 | DESTDIR=${D} \ |
38 | PYLIBVER='python${PYTHON_BASEVERSION}' \ | 45 | PYLIBVER='python${PYTHON_BASEVERSION}' \ |
39 | PYLIBDIR='${D}/${libdir}/$(PYLIBVER)' | 46 | PYLIBDIR='${D}/${libdir}/$(PYLIBVER)' |
40 | cd ${D}${libdir} && \ | ||
41 | rm -f libsemanage.so && \ | ||
42 | ln -s ../../`basename ${libdir}`/libsemanage.so.1 libsemanage.so | ||
43 | } | 47 | } |
44 | 48 | ||
45 | BBCLASSEXTEND = "native" | 49 | BBCLASSEXTEND = "native" |