diff options
author | Lukc <lukc@upyum.com> | 2010-12-20 23:29:48 +0100 |
---|---|---|
committer | Lukc <lukc@upyum.com> | 2010-12-20 23:29:48 +0100 |
commit | cbf428791a33b0144264fe1e4e29bcfafcdc0372 (patch) | |
tree | d9448255768723fa165ac47676a10171084ca01b /attr/Pkgfile | |
parent | 04ac47554bcf024a2b5a9f1c73f5d105f1f61cda (diff) | |
download | base-cbf428791a33b0144264fe1e4e29bcfafcdc0372.tar.gz base-cbf428791a33b0144264fe1e4e29bcfafcdc0372.tar.bz2 base-cbf428791a33b0144264fe1e4e29bcfafcdc0372.tar.xz base-cbf428791a33b0144264fe1e4e29bcfafcdc0372.zip |
Recette de attr mise à jour.
Diffstat (limited to 'attr/Pkgfile')
-rw-r--r-- | attr/Pkgfile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/attr/Pkgfile b/attr/Pkgfile index c8a939b..a1a9247 100644 --- a/attr/Pkgfile +++ b/attr/Pkgfile @@ -13,7 +13,13 @@ build () cd $name-$version; export DEBUG=-DNDEBUG; export OPTIMIZER=$CFLAGS; - ./configure --prefix=$prefix --bindir=/bin --libexecdir=$libdir --mandir=$mandir; + ./configure \ + ${CHOST:+--build=${CHOST}} \ + ${CTARGET:+--host=${CTARGET}} \ + --prefix=$prefix \ + --bindir=/bin \ + --libexecdir=$libdir \ + --mandir=$mandir; make; make DIST_ROOT=$PKG install install-lib install-dev; install -d $PKG/lib; |