diff options
author | Fahad Usman <fahad_usman@mentor.com> | 2010-08-16 02:52:20 +0000 |
---|---|---|
committer | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2010-08-16 21:18:16 +0200 |
commit | eadb7a0e36f56f094bfb275909bffac2a50241ab (patch) | |
tree | 75e2efbad3eb02c3db7286c8c132999d30a61a81 | |
parent | ae47dc5c994f91b84347dc666db76ed0e5801d1c (diff) |
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@mentor.com>
-rw-r--r-- | 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 df3f761121..1b20e49ddc 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" |