From 82e0922bd5269f21b053d6a7fe7f3784ed2713d9 Mon Sep 17 00:00:00 2001 From: Fahad Usman Date: Fri, 24 Sep 2010 07:05:50 +0000 Subject: 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 Signed-off-by: Tom Rini --- recipes/qmake/qmake-native_1.07a.bb | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/recipes/qmake/qmake-native_1.07a.bb b/recipes/qmake/qmake-native_1.07a.bb index 36efe89cad..ac87b45d91 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" -- cgit 1.2.3-korg