From: Fahad Usman Date: Thu, 2 Sep 2010 02:33:20 +0000 (+0000) Subject: opie-lrelease-native: Converted to new style staging X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd4d29eed11bf37484510e54a2fb47c913465718;p=openembedded.git 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 Signed-off-by: Tom Rini --- diff --git a/recipes/opie-i18n/opie-lrelease-native.inc b/recipes/opie-i18n/opie-lrelease-native.inc index f536704328..337196fd19 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 ce4d83f1b6..8c33dd6749 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 ce4d83f1b6..8c33dd6749 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 \