summaryrefslogtreecommitdiffstats
path: root/acl/Pkgfile
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-20 23:27:51 +0100
committerLukc <lukc@upyum.com>2010-12-20 23:27:51 +0100
commit04ac47554bcf024a2b5a9f1c73f5d105f1f61cda (patch)
tree7035350ac868beee0342696906cb2bd292587c74 /acl/Pkgfile
parent00c0a388fa93e959ca4a4b259b4d367fa9751172 (diff)
downloadbase-04ac47554bcf024a2b5a9f1c73f5d105f1f61cda.tar.gz
base-04ac47554bcf024a2b5a9f1c73f5d105f1f61cda.tar.bz2
base-04ac47554bcf024a2b5a9f1c73f5d105f1f61cda.tar.xz
base-04ac47554bcf024a2b5a9f1c73f5d105f1f61cda.zip
Recette de acl adaptée pour la compilation croisée.
Diffstat (limited to 'acl/Pkgfile')
-rw-r--r--acl/Pkgfile8
1 files changed, 7 insertions, 1 deletions
diff --git a/acl/Pkgfile b/acl/Pkgfile
index 5f7ebff..05e5022 100644
--- a/acl/Pkgfile
+++ b/acl/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;