From 9a1cd0ea9f869b1641cdcab21c094415b7816e56 Mon Sep 17 00:00:00 2001 From: Lukc Date: Wed, 29 Dec 2010 09:55:24 +0100 Subject: Recette de autoconf mise à jour. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- autoconf/Pkgfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/autoconf/Pkgfile b/autoconf/Pkgfile index fe8622f..e8545fd 100644 --- a/autoconf/Pkgfile +++ b/autoconf/Pkgfile @@ -11,7 +11,11 @@ source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.xz) build () { cd $name-$version; - ./configure --prefix=$prefix --mandir=$PKG$mandir; + ./configure \ + ${CHOST:+--build=${CHOST}} \ + ${CTARGET:+--host=${CTARGET}} \ + --prefix=$prefix \ + --mandir=$PKG$mandir; make; make prefix=$PKG/usr install; } -- cgit v1.2.3-54-g00ecf