summaryrefslogtreecommitdiffstats
path: root/autoconf
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-29 09:55:24 +0100
committerLukc <lukc@upyum.com>2010-12-29 09:55:24 +0100
commit9a1cd0ea9f869b1641cdcab21c094415b7816e56 (patch)
treeb17c0206cd10b05fff846c7302acc3440687b410 /autoconf
parentf71dc3bd77549744e234243c2a4288ab56724618 (diff)
downloaddevel-9a1cd0ea9f869b1641cdcab21c094415b7816e56.tar.gz
devel-9a1cd0ea9f869b1641cdcab21c094415b7816e56.tar.bz2
devel-9a1cd0ea9f869b1641cdcab21c094415b7816e56.tar.xz
devel-9a1cd0ea9f869b1641cdcab21c094415b7816e56.zip
Recette de autoconf mise à jour.
Diffstat (limited to 'autoconf')
-rw-r--r--autoconf/Pkgfile6
1 files changed, 5 insertions, 1 deletions
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;
}