summaryrefslogtreecommitdiff
path: root/recipes/uicmoc/uicmoc3-native_3.3.5.bb
diff options
context:
space:
mode:
authorNoor Ahsan <noor_ahsan@mentor.com>2010-08-17 21:53:58 +0000
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2010-08-22 12:16:38 +0200
commitb0b9f49bbefaf38185753c1713abdd7fe141ad4a (patch)
tree6ffbc0e6686804fb4cf4ebea91dbe96111af1c5e /recipes/uicmoc/uicmoc3-native_3.3.5.bb
parent5741f1bc98cb7bdf9ea8c5665661e0b11ff27694 (diff)
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@mentor.com>
Diffstat (limited to 'recipes/uicmoc/uicmoc3-native_3.3.5.bb')
-rw-r--r--recipes/uicmoc/uicmoc3-native_3.3.5.bb26
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 ab4ab80d88..76cd1b3a5d 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"