uicmoc-native: Convert to new style staging, Remove do_stage
authorNoor Ahsan <noor_ahsan@mentor.com>
Thu, 2 Sep 2010 02:20:14 +0000 (02:20 +0000)
committerTom Rini <tom_rini@mentor.com>
Thu, 30 Sep 2010 20:40:45 +0000 (13:40 -0700)
* Convert do_stage to do_install function
* Convert ${STAGING_BINDIR} to ${D}${bindir}
* Set NATIVE_INSTALL_WORKS = "1"
* Bump PR to "r5"

Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/uicmoc/uicmoc-native_2.3.10.bb

index c161571..12f10a0 100644 (file)
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.trolltech.com"
 SECTION = "devel"
 PRIORITY = "optional"
 LICENSE = "GPL QPL"
-PR = "r4"
+PR = "r5"
 
 SRC_URI = "ftp://ftp.trolltech.com/pub/qt/source/qt-embedded-${PV}-free.tar.gz \
            file://fix-makefile.patch \
@@ -43,11 +43,14 @@ do_compile() {
     oe_runmake -C tools/makeqpf       || die "Building makeqpf failed"
 }
 
-do_stage() {
-    install -m 0755 bin/moc ${STAGING_BINDIR}
-    install -m 0755 bin/uic ${STAGING_BINDIR}
-    install -m 0755 tools/makeqpf/makeqpf ${STAGING_BINDIR}
+do_install() {
+    install -d ${D}${bindir}
+    install -m 0755 bin/moc ${D}${bindir}
+    install -m 0755 bin/uic ${D}${bindir}
+    install -m 0755 tools/makeqpf/makeqpf ${D}${bindir}
 }
 
 SRC_URI[md5sum] = "1f7ad30113afc500cab7f5b2f4dec0d7"
 SRC_URI[sha256sum] = "883363eb0c94de3d1e36f3ab9e09a8f127418d497213cc1a0ed1a1588ecd66b8"
+
+NATIVE_INSTALL_WORKS = "1"