From patchwork Wed Oct 17 14:39:53 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [5/9] bzip2: Remove call to "bash ./autogen.sh" in do_configure, use autoreconf with custom reconf Date: Wed, 17 Oct 2012 04:39:53 -0000 From: Morten Svendsen X-Patchwork-Id: 192067 Message-Id: <88f2bdab1e42163c7e96d01fe683567127c129de.1350484529.git.morten.thunbergsvendsen@prevas.dk> To: --- recipes/bzip2/bzip2.inc | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/recipes/bzip2/bzip2.inc b/recipes/bzip2/bzip2.inc index e11ab73..dad6b46 100644 --- a/recipes/bzip2/bzip2.inc +++ b/recipes/bzip2/bzip2.inc @@ -2,7 +2,17 @@ DESCRIPTION = "Very high-quality data compression program" RECIPE_TYPES = "machine native sdk" -inherit autotools pkgconfig +inherit autotools-autoreconf pkgconfig +AUTORECONF_CMD = " \ + mv LICENSE COPYING; \ + mv CHANGES NEWS; \ + touch AUTHORS \ +&& touch ChangeLog \ +&& ${LIBTOOLIZE} --force --copy \ +&& aclocal -I . $acpaths --force \ +&& automake -a --copy --force --gnu \ +&& autoconf -I . $acpaths --force \ +" SRC_URI = "http://www.bzip.org/${PV}/bzip2-${PV}.tar.gz" @@ -34,8 +44,3 @@ RDEPENDS_${PN}-bzdiff = "${PN}-libbz2" RDEPENDS_${PN}-bzgrep = "${PN}-libbz2" RDEPENDS_${PN}-bzip2recover = "${PN}-libbz2" RDEPENDS_${PN}-bzmore = "${PN}-libbz2" - -do_configure () { - bash ./autogen.sh - do_configure_autotools -}