wok diff tcc/receipt @ rev 19691

Up lz4 (1.7.5), lz5 (2.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 13 10:26:05 2017 +0100 (2017-02-13)
parents 30509da0e83b
children a300e47088cc
line diff
     1.1 --- a/tcc/receipt	Sun Feb 23 15:40:01 2014 +0100
     1.2 +++ b/tcc/receipt	Mon Feb 13 10:26:05 2017 +0100
     1.3 @@ -23,11 +23,17 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 -	cd $src
     1.8 -	./configure \
     1.9 -		--prefix=/usr \
    1.10 -		--enable-cross \
    1.11 -		$CONFIGURE_ARGS &&
    1.12 +	case "$ARCH" in
    1.13 +		arm)
    1.14 +			./configure \
    1.15 +				--prefix=/usr \
    1.16 +				--cross-prefix=arm-slitaz-linux-gnueabi- \
    1.17 +				--cpu=armv4l ;;
    1.18 +		*)
    1.19 +			./configure \
    1.20 +				--prefix=/usr \
    1.21 +				--enable-cross ;;
    1.22 +	esac &&
    1.23  	make && make test &&
    1.24  	make DESTDIR=$DESTDIR install
    1.25  }