[oe] [PATCH] qmake-native_1.07a.bb: Converted to new style staging

Fahad Usman fahad_usman at mentor.com
Fri Sep 24 17:05:50 UTC 2010


* Converted do_stage to do_install.
* Added NATIVE_INSTALL_WORKS = "1"
* replaced QMAKE_MKSPEC_PATH (which is defined in bitbake.conf) with ${D}${datadir}/qmake as discussed on irc
* Bumped PR

Signed-off-by: Fahad Usman <fahad_usman at mentor.com>
---
 recipes/qmake/qmake-native_1.07a.bb |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/recipes/qmake/qmake-native_1.07a.bb b/recipes/qmake/qmake-native_1.07a.bb
index 36efe89..ac87b45 100644
--- a/recipes/qmake/qmake-native_1.07a.bb
+++ b/recipes/qmake/qmake-native_1.07a.bb
@@ -3,7 +3,7 @@ PRIORITY = "optional"
 HOMEPAGE = "http://www.trolltech.com"
 SECTION = "devel"
 LICENSE = "GPL QPL"
-PR = "r5"
+PR = "r6"
 
 QTEVER = "qt-embedded-free-3.3.5"
 
@@ -35,15 +35,14 @@ do_compile() {
 	:
 }
 
-do_stage() {
-	install -m 0755 bin/qmake ${STAGING_BINDIR}
-	install -d ${QMAKE_MKSPEC_PATH}
-	cp -fPR mkspecs/* ${QMAKE_MKSPEC_PATH}
-}
-
 do_install() {
-        :
+        install -d ${D}${bindir}
+        install -m 0755 bin/qmake ${D}${bindir}
+        install -d ${D}${datadir}/qmake
+        cp -fPR mkspecs/* ${D}${datadir}/qmake
 }
 
 SRC_URI[md5sum] = "022d7a3c572b554f3c47b12cae71a8a4"
 SRC_URI[sha256sum] = "a97656796c0ef8e87dd83e6138bc406e31830d08f9b213e039d8be39ea65c8e4"
+
+NATIVE_INSTALL_WORKS = "1"
-- 
1.6.3.3





More information about the Openembedded-devel mailing list