From: Richard Purdie Date: Mon, 16 Nov 2009 22:51:51 +0000 (+0000) Subject: gupnp: Convert to new staging method X-Git-Tag: 2011-1~6763 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=7edbe8118188fcfcca81d9e9f18eac9d441ee04a;p=openembedded-core.git gupnp: Convert to new staging method Signed-off-by: Richard Purdie --- diff --git a/meta/packages/gupnp/gupnp_0.12.5.bb b/meta/packages/gupnp/gupnp_0.12.5.bb index 4fd75d8932..a19bbce0ac 100644 --- a/meta/packages/gupnp/gupnp_0.12.5.bb +++ b/meta/packages/gupnp/gupnp_0.12.5.bb @@ -9,6 +9,9 @@ inherit autotools_stage pkgconfig FILES_${PN} = "${libdir}/*.so.*" FILES_${PN}-dev += "${bindir}/gupnp-binding-tool" -do_stage_append () { - install ${S}/tools/gupnp-binding-tool ${STAGING_BINDIR_NATIVE} -} \ No newline at end of file +SYSROOT_PREPROCESS_FUNCS += "gupnp_sysroot_preprocess" + +gupnp_sysroot_preprocess () { + install -d ${SYSROOT_DESTDIR}${STAGING_BINDIR_CROSS}/ + install -m 755 ${bindir}/gupnp-binding-tool ${SYSROOT_DESTDIR}${STAGING_BINDIR_CROSS}/ +}