[oe] [PATCH] dcopidl2cpp-native_3.5.8.bb added non-legacy style staging support
Fahad Usman
fahad_usman at mentor.com
Fri Aug 13 12:06:17 UTC 2010
* converted do_stage to do_install and replaced ${STAGING_BINDIR} with ${D}${bindir}
Signed-off-by: Fahad Usman <fahad_usman at mentor.com>
---
recipes/dcop/dcopidl2cpp-native_3.5.8.bb | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/recipes/dcop/dcopidl2cpp-native_3.5.8.bb b/recipes/dcop/dcopidl2cpp-native_3.5.8.bb
index 761ef87..189cafd 100644
--- a/recipes/dcop/dcopidl2cpp-native_3.5.8.bb
+++ b/recipes/dcop/dcopidl2cpp-native_3.5.8.bb
@@ -4,6 +4,8 @@ PRIORITY = "optional"
LICENSE = "GPL"
DEPENDS = "uicmoc3-native"
+PR = "r1"
+
SRC_URI = "ftp://download.kde.org/pub/kde/stable/${PV}/src/kdelibs-${PV}.tar.bz2"
#\
# file://dcopidl-compile.patch "
@@ -21,9 +23,11 @@ do_configure_prepend() {
echo "HEADERS += main.h " >> dcopidl2cpp.pro
}
-do_stage() {
- install -d ${STAGING_BINDIR}
- install -m 0755 dcopidl2cpp ${STAGING_BINDIR}
+NATIVE_INSTALL_WORKS = "1"
+
+do_install() {
+ install -d ${D}${bindir}
+ install -m 0755 dcopidl2cpp ${D}${bindir}
}
SRC_URI[md5sum] = "acaa37e79e840d10dca326277a20863c"
--
1.6.3.3
More information about the Openembedded-devel
mailing list