[oe-commits] Fahad Usman : dcopidl-native_3.5.8.bb: Removed legacy style staging

git version control git at git.openembedded.org
Mon Aug 16 20:00:19 UTC 2010


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

Author: Fahad Usman <fahad_usman at mentor.com>
Date:   Mon Aug 16 02:52:20 2010 +0000

dcopidl-native_3.5.8.bb: Removed legacy style staging

* converted do_stage to do_install and replaced ${STAGING_BINDIR} with ${D}${bindir}

* and treated the source with oe-stylize.py script

Signed-off-by: Fahad Usman <fahad_usman at mentor.com>

---

 recipes/dcop/dcopidl-native_3.5.8.bb |   29 ++++++++++++++++-------------
 1 files changed, 16 insertions(+), 13 deletions(-)

diff --git a/recipes/dcop/dcopidl-native_3.5.8.bb b/recipes/dcop/dcopidl-native_3.5.8.bb
index df3f761..1b20e49 100644
--- a/recipes/dcop/dcopidl-native_3.5.8.bb
+++ b/recipes/dcop/dcopidl-native_3.5.8.bb
@@ -1,16 +1,19 @@
 DESCRIPTION = "DCOP IDL parser"
 SECTION = "kde/devel"
-PRIORITY    = "optional"
-LICENSE     = "GPL"
-DEPENDS     = "uicmoc3-native"
+PRIORITY = "optional"
+LICENSE = "GPL"
+DEPENDS = "uicmoc3-native"
+PR = "r2"
 
-SRC_URI     = "ftp://download.kde.org/pub/kde/stable/${PV}/src/kdelibs-${PV}.tar.bz2 \
-	      file://dcopidl-compile.patch "
-S           = "${WORKDIR}/kdelibs-${PV}/dcop/dcopidl"
+SRC_URI = "ftp://download.kde.org/pub/kde/stable/${PV}/src/kdelibs-${PV}.tar.bz2 \
+           file://dcopidl-compile.patch "
+SRC_URI[md5sum] = "acaa37e79e840d10dca326277a20863c"
+SRC_URI[sha256sum] = "779f563fdf0385b973f2238f04d82b5729aefe1c949e4d29482b6bb170aa3fe6"
+
+S = "${WORKDIR}/kdelibs-${PV}/dcop/dcopidl"
 
 inherit native qmake qt3e
 
-export OE_QMAKE_LINK="${CXX}"
 EXTRA_QMAKEVARS_POST_append = "LIBS+=-ldl "
 EXTRA_QMAKEVARS_POST_append = "CONFIG-=thread "
 
@@ -19,11 +22,11 @@ do_configure_prepend() {
      echo "SOURCES += main.cpp yacc.cc scanner.cc " > dcopidl.pro
      echo "HEADERS += yacc.cc.h " >> dcopidl.pro
 }
-
-do_stage() {
-     install -d ${STAGING_BINDIR}
-     install -m 0755 dcopidl ${STAGING_BINDIR}
+do_install() {
+     install -d ${D}${bindir}
+     install -m 0755 dcopidl ${D}${bindir}
 }
 
-SRC_URI[md5sum] = "acaa37e79e840d10dca326277a20863c"
-SRC_URI[sha256sum] = "779f563fdf0385b973f2238f04d82b5729aefe1c949e4d29482b6bb170aa3fe6"
+export OE_QMAKE_LINK="${CXX}"
+
+NATIVE_INSTALL_WORKS = "1"





More information about the Openembedded-commits mailing list