summaryrefslogtreecommitdiffstats
path: root/meta/packages
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-09-17 08:54:27 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-09-17 22:25:25 +0100
commit9f5ef812c9e84c0e4e8be561c401a779c8c7214f (patch)
tree20ae3abc8e7fa2a86d0310e6c351baa3fd0a3882 /meta/packages
parent1353bc08bc3bed1ee64c90bd38284248582c6ba7 (diff)
downloadpoky-9f5ef812c9e84c0e4e8be561c401a779c8c7214f.tar.gz
qemugl: Add staging function
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/mesa/qemugl_git.bb7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/packages/mesa/qemugl_git.bb b/meta/packages/mesa/qemugl_git.bb
index 3c04fe7c83..576ca62f67 100644
--- a/meta/packages/mesa/qemugl_git.bb
+++ b/meta/packages/mesa/qemugl_git.bb
@@ -21,6 +21,13 @@ do_install () {
21 install -m 0755 ${S}/libGL.so.1.2 ${D}${libdir}/libGL-qemu.so.1.2 21 install -m 0755 ${S}/libGL.so.1.2 ${D}${libdir}/libGL-qemu.so.1.2
22} 22}
23 23
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
24pkg_postinst_${PN} () { 31pkg_postinst_${PN} () {
25 rm -f $D${libdir}/libGL.so.1.2 32 rm -f $D${libdir}/libGL.so.1.2
26 ln -s libGL-qemu.so.1.2 $D${libdir}/libGL.so.1.2 33 ln -s libGL-qemu.so.1.2 $D${libdir}/libGL.so.1.2