opie-lrelease-native: Converted to new style staging
authorFahad Usman <fahad_usman@mentor.com>
Thu, 2 Sep 2010 02:33:20 +0000 (02:33 +0000)
committerTom Rini <tom_rini@mentor.com>
Thu, 30 Sep 2010 21:03:08 +0000 (14:03 -0700)
* Converted do_stage to do_install.
* Added NATIVE_INSTALL_WORKS = "1"
* Added INC_PR = "r1" to the .inc file and PR = "${INC_PR}.0" to the .bb files

Signed-off-by: Fahad Usman <fahad_usman@mentor.com>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/opie-i18n/opie-lrelease-native.inc
recipes/opie-i18n/opie-lrelease-native_1.2.3.bb
recipes/opie-i18n/opie-lrelease-native_1.2.4.bb

index f536704..337196f 100644 (file)
@@ -3,6 +3,7 @@ SECTION = "opie/base"
 PRIORITY = "optional"
 LICENSE = "GPL"
 DEPENDS = "uicmoc3-native"
+INC_PR = "r1"
 
 S = "${WORKDIR}/opie-lrelease"
 
@@ -11,6 +12,9 @@ inherit native qmake qt3e
 export OE_QMAKE_LINK="${CXX}"
 EXTRA_QMAKEVARS_POST_append = "LIBS+=-ldl"
 
-do_stage() {
-       install -m 0755 opie-lrelease ${STAGING_BINDIR}/
+do_install() {
+        install -d ${D}${bindir}/
+        install -m 0755 opie-lrelease ${D}${bindir}/
 }
+
+NATIVE_INSTALL_WORKS = "1"
index ce4d83f..8c33dd6 100644 (file)
@@ -1,4 +1,5 @@
 require ${PN}.inc
+PR = "${INC_PR}.0"
 
 TAG = "${@'v' + bb.data.getVar('PV',d,1).replace('.', '_')}"
 SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/development/translation/opie-lrelease \
index ce4d83f..8c33dd6 100644 (file)
@@ -1,4 +1,5 @@
 require ${PN}.inc
+PR = "${INC_PR}.0"
 
 TAG = "${@'v' + bb.data.getVar('PV',d,1).replace('.', '_')}"
 SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/development/translation/opie-lrelease \