[oe-commits] Noor Ahsan : uicmoc3-native: convert to new style staging, remove 'do_stage ()'

git version control git at git.openembedded.org
Sun Aug 22 10:16:52 UTC 2010


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

Author: Noor Ahsan <noor_ahsan at mentor.com>
Date:   Tue Aug 17 21:53:58 2010 +0000

uicmoc3-native: convert to new style staging, remove 'do_stage()'

* Rename do_stage function name and set the new name as do_install.
* Replace OE_QMAKE_INCDIR_QT with ${D}${includedir}/qte3/include, OE_QMAKE_LIBDIR_QT with ${D}${libdir}/qte3/lib, OE_QMAKE_MOC with ${D}${bindir}/moc3, OE_QMAKE_UIC with ${D}${bindir}/uic3, OE_QMAKE_LIBDIR_QT with ${D}${libdir}/qte3/lib. These variables are exported in qt3e.bbclass.
* Add NATIVE_INSTALL_WORKS = "1"
* bump PR = "r4"

Signed-off-by: Noor Ahsan <noor_ahsan at mentor.com>

---

 recipes/uicmoc/uicmoc3-native_3.3.5.bb |   26 +++++++++++++++-----------
 1 files changed, 15 insertions(+), 11 deletions(-)

diff --git a/recipes/uicmoc/uicmoc3-native_3.3.5.bb b/recipes/uicmoc/uicmoc3-native_3.3.5.bb
index ab4ab80..76cd1b3 100644
--- a/recipes/uicmoc/uicmoc3-native_3.3.5.bb
+++ b/recipes/uicmoc/uicmoc3-native_3.3.5.bb
@@ -4,7 +4,7 @@ SECTION = "devel"
 PRIORITY = "optional"
 LICENSE = "GPL QPL"
 DEPENDS = "qmake-native"
-PR = "r3"
+PR = "r4"
 
 SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-embedded-free-${PV}.tar.bz2 \
            file://no-examples.patch \
@@ -36,19 +36,23 @@ do_compile() {
     oe_runmake sub-tools || die "Building tools failed"
 }
 
-do_stage() {
-	install -d ${OE_QMAKE_INCDIR_QT}
-	install -d ${OE_QMAKE_LIBDIR_QT}
+do_install() {
+        install -d ${D}${includedir}/qte3/include
+        install -d ${D}${libdir}/qte3/lib
+        install -d ${D}${bindir}/
+        install -d ${D}${bindir}/
 
-	install -m 0755 bin/moc ${OE_QMAKE_MOC}
-	install -m 0755 bin/uic ${OE_QMAKE_UIC}
-	install -m 0655 lib/*.a ${OE_QMAKE_LIBDIR_QT}
+        install -m 0755 bin/moc ${D}${bindir}/moc3
+        install -m 0755 bin/uic ${D}${bindir}/uic3
+        install -m 0655 lib/*.a ${D}${libdir}/qte3/lib
 
-	for f in include/*.h
-	do
-		install -m 0644 $f ${OE_QMAKE_INCDIR_QT}/
-	done
+        for f in include/*.h
+        do
+                install -m 0644 $f ${D}${includedir}/qte3/include/
+        done
 }
 
+NATIVE_INSTALL_WORKS = "1"
+
 SRC_URI[md5sum] = "022d7a3c572b554f3c47b12cae71a8a4"
 SRC_URI[sha256sum] = "a97656796c0ef8e87dd83e6138bc406e31830d08f9b213e039d8be39ea65c8e4"





More information about the Openembedded-commits mailing list