wok diff xz/receipt @ rev 12831

elfutils: cross-compile for ARM
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 22 16:24:28 2012 +0200 (2012-05-22)
parents 5ef314adeb5c
children b61c615f20eb
line diff
     1.1 --- a/xz/receipt	Wed Oct 26 20:47:38 2011 +0000
     1.2 +++ b/xz/receipt	Tue May 22 16:24:28 2012 +0200
     1.3 @@ -10,22 +10,24 @@
     1.4  WEB_SITE="http://tukaani.org/xz"
     1.5  WGET_URL="$WEB_SITE/$TARBALL"
     1.6  PROVIDE="lzma"
     1.7 +HOST_ARCH="i486 arm"
     1.8  
     1.9  # Rules to configure and make the package.
    1.10  compile_rules()
    1.11  {
    1.12  	cd $src
    1.13 -	./configure $CONFIGURE_ARGS \
    1.14 -	--enable-dynamic=yes --enable-small &&
    1.15 +	./configure \
    1.16 +		--enable-dynamic=yes \
    1.17 +		--enable-small \
    1.18 +		$CONFIGURE_ARGS &&
    1.19  	make && make install
    1.20  }
    1.21  
    1.22 -
    1.23  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.24  genpkg_rules()
    1.25  {
    1.26  	mkdir -p $fs/usr/bin
    1.27 -	cp -a $_pkg/usr/bin/xz $fs/usr/bin
    1.28 +	cp -a $install/usr/bin/xz $fs/usr/bin
    1.29  	#cp $stuff/lzma $fs/usr/bin
    1.30  	#ln -s lzma $fs/usr/bin/unlzma
    1.31  	#ln -s lzma $fs/usr/bin/lzcat