summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2010-06-22 17:28:25 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2010-06-25 15:03:27 +0200
commit38644795c05da432975931f3bf68a0d7c212fbe2 (patch)
treebd32ab3316ee2dc758f746580ae64f1bc7fb1b70
parentd680b61bdb40d0c304392da6c359785d8a847dd6 (diff)
mesa: switch to new staging
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Henning Heinold <heinold@inf.fu-berlin.de> Acked-by: Graeme Gregory <dp@xora.org.uk>
-rw-r--r--recipes/mesa/mesa-common.inc11
1 files changed, 4 insertions, 7 deletions
diff --git a/recipes/mesa/mesa-common.inc b/recipes/mesa/mesa-common.inc
index 51f7873a7f..dd664103cd 100644
--- a/recipes/mesa/mesa-common.inc
+++ b/recipes/mesa/mesa-common.inc
@@ -4,7 +4,7 @@ DESCRIPTION = "An open source implementation of the OpenGL spec"
HOMEPAGE = "http://mesa3d.org"
LICENSE = "MIT"
-INC_PR = "r8"
+INC_PR = "r9"
PE = "2"
PROTO_DEPS = "xf86driproto glproto"
@@ -47,15 +47,12 @@ FILES_libosmesa-dev = "${libdir}/libOSMesa.* ${includedir}/osmesa.h"
FILES_${PN}-dbg += "${libdir}/dri/.debug/*"
FILES_libegl-dbg += "${libdir}/egl/.debug/*"
-do_stage() {
- autotools_stage_all
- install -d ${STAGING_INCDIR}/GL/
- cp -pPr ${S}/include/GL/internal* ${STAGING_INCDIR}/GL/
-}
-
+NATIVE_INSTALL_WORKS = "1"
do_install_append () {
install -d ${D}/${bindir}
for i in glxdemo glxgears glxheads glxinfo; do
install -m 0755 ${S}/progs/xdemos/${i} ${D}/${bindir}
done
+ install -d ${D}/${includedir}/GL
+ cp -pPr ${S}/include/GL/internal* ${D}/${includedir}/GL
}