gconf-native_2.6.1.bb: Converted to new style staging
authorFahad Usman <fahad_usman@mentor.com>
Tue, 7 Sep 2010 00:59:44 +0000 (00:59 +0000)
committerTom Rini <tom_rini@mentor.com>
Thu, 30 Sep 2010 21:03:08 +0000 (14:03 -0700)
* Converted do_stage to do_install.
* Added NATIVE_INSTALL_WORKS = "1"
* Added PR = "r1"
Note: Not merging it into the non-native recipe as this is a dummy recipe and it does not need all the regular stuff.

Signed-off-by: Fahad Usman <fahad_usman@mentor.com>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/gnome/gconf-native_2.6.1.bb

index 79163a4..f3f5fd8 100644 (file)
@@ -1,10 +1,14 @@
 NOTE = "This is just a dummy package to get packages stop complaining about gconftool-2 \
         which they are not using anyway... :D"
 
+PR = "r1"
+
 inherit native
 
-do_stage() {
-       echo "#!/bin/sh" >${STAGING_BINDIR}/gconftool-2
-       chmod a+rx ${STAGING_BINDIR}/gconftool-2
+do_install() {
+        install -d ${D}${bindir}
+        echo "#!/bin/sh" >${D}${bindir}/gconftool-2
+        chmod a+rx ${D}${bindir}/gconftool-2
 }
 
+NATIVE_INSTALL_WORKS = "1"