xscrensaverh: convert to new style staging
authorKoen Kooi <koen@openembedded.org>
Wed, 4 Aug 2010 09:55:31 +0000 (11:55 +0200)
committerKoen Kooi <koen@openembedded.org>
Wed, 4 Aug 2010 09:55:31 +0000 (11:55 +0200)
* Is this recipe still needed with the current Xorg in OE?

recipes/xscrnsaverh/xscrnsaverh_1.0.bb

index 2989054..9cad1e4 100644 (file)
@@ -1,5 +1,5 @@
 
-PR = "r0"
+PR = "r1"
 
 DEPENDS = "libxext"
 SECTION = "x11"
@@ -8,6 +8,7 @@ DESCRIPTION = "missing header"
 
 SRC_URI = "file://scrnsaver.h"
 
-do_stage() {
-       install -m 0644 ${WORKDIR}/scrnsaver.h ${STAGING_INCDIR}/X11/extensions/
+do_install() {
+       install -d ${D}${includedir}/X11/extensions/
+       install -m 0644 ${WORKDIR}/scrnsaver.h ${D}${includedir}/X11/extensions/
 }