summaryrefslogtreecommitdiffstats
path: root/meta/packages/mesa
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-17 21:35:22 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-17 21:35:22 +0000
commitdc607cfb60bf614a52f1ae29acd013befef83191 (patch)
tree27ac4bdc64775aacb0f1a7af2edbace6ee257d21 /meta/packages/mesa
parentf8eb8a381767f7b7c64c7f190890d874538b7272 (diff)
downloadpoky-dc607cfb60bf614a52f1ae29acd013befef83191.tar.gz
qemugl: This package is usually installed as an alternative so no need to use the package postinstall. Remove staging function
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/mesa')
-rw-r--r--meta/packages/mesa/qemugl_git.bb17
1 files changed, 4 insertions, 13 deletions
diff --git a/meta/packages/mesa/qemugl_git.bb b/meta/packages/mesa/qemugl_git.bb
index 138f59d1c8..b69103c7a8 100644
--- a/meta/packages/mesa/qemugl_git.bb
+++ b/meta/packages/mesa/qemugl_git.bb
@@ -16,21 +16,12 @@ PR = "r5"
16 16
17DEFAULT_PREFERENCE = "-1" 17DEFAULT_PREFERENCE = "-1"
18 18
19NATIVE_INSTALL_WORKS = "1"
19do_install () { 20do_install () {
20 install -d ${D}${libdir}/ 21 install -d ${D}${libdir}/
21 install -m 0755 ${S}/libGL.so.1.2 ${D}${libdir}/libGL-qemu.so.1.2 22 install -m 0755 ${S}/libGL.so.1.2 ${D}${libdir}/libGL.so.1.2
22} 23 ln -s libGL.so.1.2 ${D}${libdir}/libGL.so.1
23 24 ln -s libGL.so.1 ${D}${libdir}/libGL.so
24do_stage () {
25 install -d ${STAGING_LIBDIR}/
26 install -m 0755 ${S}/libGL.so.1.2 ${STAGING_LIBDIR}/libGL.so.1.2
27 ln -s libGL.so.1.2 ${STAGING_LIBDIR}/libGL.so.1
28 ln -s libGL.so.1 ${STAGING_LIBDIR}/libGL.so
29}
30
31pkg_postinst_${PN} () {
32 rm -f $D${libdir}/libGL.so.1.2
33 ln -s libGL-qemu.so.1.2 $D${libdir}/libGL.so.1.2
34} 25}
35 26
36BBCLASSEXTEND = "nativesdk" 27BBCLASSEXTEND = "nativesdk"