[oe-commits] Fahad Usman : opie-lrelease-native: Converted to new style staging

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


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

Author: Fahad Usman <fahad_usman at mentor.com>
Date:   Thu Sep  2 02:33:20 2010 +0000

opie-lrelease-native: Converted to new style staging

* 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 at mentor.com>
Signed-off-by: Tom Rini <tom_rini at mentor.com>

---

 recipes/opie-i18n/opie-lrelease-native.inc      |    8 ++++++--
 recipes/opie-i18n/opie-lrelease-native_1.2.3.bb |    1 +
 recipes/opie-i18n/opie-lrelease-native_1.2.4.bb |    1 +
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/recipes/opie-i18n/opie-lrelease-native.inc b/recipes/opie-i18n/opie-lrelease-native.inc
index f536704..337196f 100644
--- a/recipes/opie-i18n/opie-lrelease-native.inc
+++ b/recipes/opie-i18n/opie-lrelease-native.inc
@@ -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"
diff --git a/recipes/opie-i18n/opie-lrelease-native_1.2.3.bb b/recipes/opie-i18n/opie-lrelease-native_1.2.3.bb
index ce4d83f..8c33dd6 100644
--- a/recipes/opie-i18n/opie-lrelease-native_1.2.3.bb
+++ b/recipes/opie-i18n/opie-lrelease-native_1.2.3.bb
@@ -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 \
diff --git a/recipes/opie-i18n/opie-lrelease-native_1.2.4.bb b/recipes/opie-i18n/opie-lrelease-native_1.2.4.bb
index ce4d83f..8c33dd6 100644
--- a/recipes/opie-i18n/opie-lrelease-native_1.2.4.bb
+++ b/recipes/opie-i18n/opie-lrelease-native_1.2.4.bb
@@ -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 \





More information about the Openembedded-commits mailing list