diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-extended/lsb/lsb_1.4.bb | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/meta/recipes-extended/lsb/lsb_1.4.bb b/meta/recipes-extended/lsb/lsb_1.4.bb index d47201265e..7cecdf21bd 100644 --- a/meta/recipes-extended/lsb/lsb_1.4.bb +++ b/meta/recipes-extended/lsb/lsb_1.4.bb | |||
@@ -2,7 +2,7 @@ DESCRIPTION = "LSB support for Poky Linux" | |||
2 | SECTION = "console/utils" | 2 | SECTION = "console/utils" |
3 | HOMEPAGE = "http://prdownloads.sourceforge.net/lsb" | 3 | HOMEPAGE = "http://prdownloads.sourceforge.net/lsb" |
4 | LICENSE = "GPLv2+" | 4 | LICENSE = "GPLv2+" |
5 | PR = "r1" | 5 | PR = "r2" |
6 | 6 | ||
7 | LIC_FILES_CHKSUM = "file://README;md5=12da544b1a3a5a1795a21160b49471cf" | 7 | LIC_FILES_CHKSUM = "file://README;md5=12da544b1a3a5a1795a21160b49471cf" |
8 | 8 | ||
@@ -19,7 +19,7 @@ SRC_URI[sha256sum] = "99321288f8d62e7a1d485b7c6bdccf06766fb8ca603c6195806e4457fd | |||
19 | S = ${WORKDIR}/lsb-release-${PV} | 19 | S = ${WORKDIR}/lsb-release-${PV} |
20 | 20 | ||
21 | do_install(){ | 21 | do_install(){ |
22 | oe_runmake install prefix=${D} mandir=${D}/man/ DESTDIR=${D} | 22 | oe_runmake install prefix=${D} mandir=${D}/${datadir}/man/ DESTDIR=${D} |
23 | mkdir -p ${D}/bin | 23 | mkdir -p ${D}/bin |
24 | mkdir -p ${D}/${baselib} | 24 | mkdir -p ${D}/${baselib} |
25 | mkdir -p ${D}/etc/lsb-release.d | 25 | mkdir -p ${D}/etc/lsb-release.d |
@@ -69,7 +69,9 @@ do_install_append(){ | |||
69 | install -m 0755 ${WORKDIR}/init-functions ${D}/${baselib}/lsb | 69 | install -m 0755 ${WORKDIR}/init-functions ${D}/${baselib}/lsb |
70 | if [ "${TARGET_ARCH}" == "x86_64" ];then | 70 | if [ "${TARGET_ARCH}" == "x86_64" ];then |
71 | cd ${D} | 71 | cd ${D} |
72 | ln -sf ${baselib} lib | 72 | if [ "${baselib}" != "lib64" ]; then |
73 | ln -sf ${baselib} lib64 | ||
74 | fi | ||
73 | cd ${D}/${baselib} | 75 | cd ${D}/${baselib} |
74 | ln -sf ld-linux-x86-64.so.2 ld-lsb-x86-64.so.2 | 76 | ln -sf ld-linux-x86-64.so.2 ld-lsb-x86-64.so.2 |
75 | ln -sf ld-linux-x86-64.so.2 ld-lsb-x86-64.so.3 | 77 | ln -sf ld-linux-x86-64.so.2 ld-lsb-x86-64.so.3 |
@@ -82,7 +84,9 @@ do_install_append(){ | |||
82 | 84 | ||
83 | if [ "${TARGET_ARCH}" == "powerpc64" ];then | 85 | if [ "${TARGET_ARCH}" == "powerpc64" ];then |
84 | cd ${D} | 86 | cd ${D} |
85 | ln -sf ${baselib} lib | 87 | if [ "${baselib}" != "lib64" ]; then |
88 | ln -sf ${baselib} lib64 | ||
89 | fi | ||
86 | cd ${D}/${baselib} | 90 | cd ${D}/${baselib} |
87 | ln -sf ld64.so.1 ld-lsb-ppc64.so.2 | 91 | ln -sf ld64.so.1 ld-lsb-ppc64.so.2 |
88 | ln -sf ld64.so.1 ld-lsb-ppc64.so.3 | 92 | ln -sf ld64.so.1 ld-lsb-ppc64.so.3 |