diff options
author | Fahad Usman <fahad_usman@mentor.com> | 2010-09-02 02:33:20 +0000 |
---|---|---|
committer | Tom Rini <tom_rini@mentor.com> | 2010-09-30 14:03:08 -0700 |
commit | fd4d29eed11bf37484510e54a2fb47c913465718 (patch) | |
tree | 233c232b0eb7c1429af15bf43e894d441ab08f05 /recipes/opie-i18n | |
parent | 1cdb3733cf2ad969a045686e7af5694bb078e653 (diff) | |
download | openembedded-fd4d29eed11bf37484510e54a2fb47c913465718.tar.gz |
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@mentor.com>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'recipes/opie-i18n')
-rw-r--r-- | recipes/opie-i18n/opie-lrelease-native.inc | 8 | ||||
-rw-r--r-- | recipes/opie-i18n/opie-lrelease-native_1.2.3.bb | 1 | ||||
-rw-r--r-- | 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 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 \ |