summaryrefslogtreecommitdiffstats
path: root/automake/Pkgfile
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-29 09:58:00 +0100
committerLukc <lukc@upyum.com>2010-12-29 09:58:00 +0100
commitcc370aba4e0f4da149c7f5f930ea93fdd5d94e4f (patch)
tree74552fcbfa8412db3067c07eb547308e646440a7 /automake/Pkgfile
parent9a1cd0ea9f869b1641cdcab21c094415b7816e56 (diff)
downloaddevel-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/Pkgfile8
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
}