From cc370aba4e0f4da149c7f5f930ea93fdd5d94e4f Mon Sep 17 00:00:00 2001 From: Lukc Date: Wed, 29 Dec 2010 09:58:00 +0100 Subject: Recette de automake mise à jour. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- automake/Pkgfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'automake/Pkgfile') diff --git a/automake/Pkgfile b/automake/Pkgfile index 0535706..d1bf2c1 100644 --- a/automake/Pkgfile +++ b/automake/Pkgfile @@ -11,10 +11,14 @@ source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2) build () { cd $name-$version; - ./configure --prefix=$prefix --mandir=$mandir; + ./configure \ + ${CHOST:+--build=${CHOST}} \ + ${CTARGET:+--host=${CTARGET}} \ + --prefix=$prefix \ + --mandir=$mandir; make; make DESTDIR=$PKG install; - # FIXME: To manage with uses... + # FIXME: À gérer avec les « use »... #rm -r $PKG/usr/share/{info,doc}; #rm $PKG/usr/share/automake-*/texinfo.tex } -- cgit v1.2.3-70-g09d2