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

git version control git at git.openembedded.org
Thu Sep 30 21:04:07 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 82e0922bd5269f21b053d6a7fe7f3784ed2713d9
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=82e0922bd5269f21b053d6a7fe7f3784ed2713d9

Author: Fahad Usman <fahad_usman at mentor.com>
Date:   Fri Sep 24 07:05:50 2010 +0000

qmake-native_1.07a.bb: Converted to new style staging

* 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>
Signed-off-by: Tom Rini <tom_rini 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"





More information about the Openembedded-commits mailing list