summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-01-21 11:36:21 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-01-21 11:36:21 +0000
commita13faf34af360e6b3eb9c5620b5e9aa0eff16a98 (patch)
treea37e7d8a620f572975764f1a582ff7102b18a4d3
parentd2ebf9155e4e5a85b49e32caaa3684112ba0672c (diff)
downloadopenembedded-core-a13faf34af360e6b3eb9c5620b5e9aa0eff16a98.tar.gz
openembedded-core-a13faf34af360e6b3eb9c5620b5e9aa0eff16a98.tar.bz2
openembedded-core-a13faf34af360e6b3eb9c5620b5e9aa0eff16a98.tar.xz
openembedded-core-a13faf34af360e6b3eb9c5620b5e9aa0eff16a98.zip
qemugl: Install the library in the standard location
-rw-r--r--meta/packages/mesa/qemugl_git.bb12
1 files changed, 7 insertions, 5 deletions
diff --git a/meta/packages/mesa/qemugl_git.bb b/meta/packages/mesa/qemugl_git.bb
index f3ab51fb5..f267d0c32 100644
--- a/meta/packages/mesa/qemugl_git.bb
+++ b/meta/packages/mesa/qemugl_git.bb
@@ -11,12 +11,14 @@ SRC_URI = "git://git.o-hand.com/qemugl.git;protocol=git"
S = "${WORKDIR}/git"
PV = "0.0+git${SRCREV}"
+PR = "r1"
-FILES_${PN} += " ${libdir}/qemu/*"
-FILES_${PN}-dbg += " ${libdir}/qemu/.debug/*"
+PROVIDES = "virtual/libgl"
+
+DEFAULT_PREFERENCE = "-1"
do_install () {
- install -d ${D}${libdir}/qemu
- install -m 0755 ${S}/libGL.so ${D}${libdir}/qemu
- ln -s libGL.so ${D}${libdir}/qemu/libGL.so.1
+ install -d ${D}${libdir}
+ install -m 0755 ${S}/libGL.so ${D}${libdir}/
+ ln -s libGL.so ${D}${libdir}/libGL.so.1
}