From e380b48602db316c7d12d328192eadc52e5be861 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 26 Dec 2008 19:02:44 +0000 Subject: classes/autotools_stage.bbclass: Add autotools_stage class to simplify recipes using standard autotools --- meta/packages/xcb/libpthread-stubs_0.1.bb | 6 +----- meta/packages/xcb/libxcb.inc | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) (limited to 'meta/packages/xcb') diff --git a/meta/packages/xcb/libpthread-stubs_0.1.bb b/meta/packages/xcb/libpthread-stubs_0.1.bb index 211170a90..826bff767 100644 --- a/meta/packages/xcb/libpthread-stubs_0.1.bb +++ b/meta/packages/xcb/libpthread-stubs_0.1.bb @@ -11,11 +11,7 @@ PARALLEL_MAKE = "" SRC_URI = "http://xcb.freedesktop.org/dist/libpthread-stubs-${PV}.tar.bz2" -inherit autotools pkgconfig - -do_stage() { - autotools_stage_all -} +inherit autotools_stage pkgconfig RDEPENDS_${PN}-dev = "" RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${DEBPV})" diff --git a/meta/packages/xcb/libxcb.inc b/meta/packages/xcb/libxcb.inc index bdce8a2e6..ee46f598c 100644 --- a/meta/packages/xcb/libxcb.inc +++ b/meta/packages/xcb/libxcb.inc @@ -40,7 +40,7 @@ FILES_libxcb-xtest = "${libdir}/libxcb-xtest.so.*" FILES_libxcb-xv = "${libdir}/libxcb-xv.so.*" FILES_libxcb-xvmc = "${libdir}/libxcb-xvmc.so.*" -inherit autotools pkgconfig +inherit autotools_stage pkgconfig # XCBPROTO_XCBINCLUDEDIR is setup based on `pkg-config --variable=xcbincludedir xcb-proto` # but the xcbincludedir variable doesn't point into the staging area, so it needs some @@ -49,7 +49,3 @@ do_configure_prepend () { sed -i "s|XCBPROTO_XCBINCLUDEDIR=|XCBPROTO_XCBINCLUDEDIR=${STAGING_DIR_HOST}/|" \ ${S}/configure.ac } - -do_stage() { - autotools_stage_all -} -- cgit v1.2.3