From 7edbe8118188fcfcca81d9e9f18eac9d441ee04a Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 16 Nov 2009 22:51:51 +0000 Subject: gupnp: Convert to new staging method Signed-off-by: Richard Purdie --- meta/packages/gupnp/gupnp_0.12.5.bb | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'meta') diff --git a/meta/packages/gupnp/gupnp_0.12.5.bb b/meta/packages/gupnp/gupnp_0.12.5.bb index 4fd75d893..a19bbce0a 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}/ +} -- cgit v1.2.3