summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
}