wok-next diff m4/receipt @ rev 12942
libxcb: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 30 17:31:03 2012 +0200 (2012-05-30) |
parents | aca8a14a46d9 |
children | 2b9f96603415 |
line diff
1.1 --- a/m4/receipt Tue May 24 08:08:39 2011 +0000 1.2 +++ b/m4/receipt Wed May 30 17:31:03 2012 +0200 1.3 @@ -8,23 +8,16 @@ 1.4 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.5 WEB_SITE="http://www.gnu.org/software/m4/" 1.6 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 1.7 +HOST_ARCH="i486 arm" 1.8 1.9 DEPENDS="glibc-base" 1.10 -BUILD_DEPENDS="gcc" 1.11 - 1.12 -# Rules to compile & install the temporary toolchain by Tazwok. 1.13 -cook_tmp_toolchain() 1.14 -{ 1.15 - cd $src 1.16 - ./configure && make && make install 1.17 -} 1.18 - 1.19 +BUILD_DEPENDS="" 1.20 1.21 # Rules to configure and make the package. 1.22 compile_rules() 1.23 { 1.24 cd $src 1.25 - ./configure --build=$HOST_SYSTEM --host=$HOST_SYSTEM && 1.26 + ./configure $CONFIGURE_ARGS && 1.27 make && make install 1.28 } 1.29 1.30 @@ -32,5 +25,5 @@ 1.31 genpkg_rules() 1.32 { 1.33 mkdir -p $fs/usr 1.34 - cp -a $_pkg/usr/bin $fs/usr 1.35 + cp -a $install/usr/bin $fs/usr 1.36 }