diff options
author | Lukc <lukc@upyum.com> | 2010-12-29 09:58:00 +0100 |
---|---|---|
committer | Lukc <lukc@upyum.com> | 2010-12-29 09:58:00 +0100 |
commit | cc370aba4e0f4da149c7f5f930ea93fdd5d94e4f (patch) | |
tree | 74552fcbfa8412db3067c07eb547308e646440a7 /automake/Pkgfile | |
parent | 9a1cd0ea9f869b1641cdcab21c094415b7816e56 (diff) | |
download | devel-cc370aba4e0f4da149c7f5f930ea93fdd5d94e4f.tar.gz devel-cc370aba4e0f4da149c7f5f930ea93fdd5d94e4f.tar.bz2 devel-cc370aba4e0f4da149c7f5f930ea93fdd5d94e4f.tar.xz devel-cc370aba4e0f4da149c7f5f930ea93fdd5d94e4f.zip |
Recette de automake mise à jour.
Diffstat (limited to 'automake/Pkgfile')
-rw-r--r-- | automake/Pkgfile | 8 |
1 files changed, 6 insertions, 2 deletions
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 } |