[oe] [PATCH] dcopidl-native_3.5.8.bb: Removed legacy style staging
Frans Meulenbroeks
fransmeulenbroeks at gmail.com
Mon Aug 16 12:57:58 UTC 2010
2010/8/16 Fahad Usman <fahad_usman at mentor.com>:
> * 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"
> --
Looks good to me.
Can you also do the other recipe in the dcop dir?
Thanks!
Frans
More information about the Openembedded-devel
mailing list