wok-current rev 20566

tcc: force arch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 12 23:37:24 2018 +0100 (2018-12-12)
parents feeb3a07eddd
children 291369229046
files tacacs+/receipt tcc/receipt
line diff
     1.1 --- a/tacacs+/receipt	Wed Dec 12 23:00:52 2018 +0100
     1.2 +++ b/tacacs+/receipt	Wed Dec 12 23:37:24 2018 +0100
     1.3 @@ -16,13 +16,12 @@
     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  		--infodir=/usr/share/info \
    1.11  		--mandir=/usr/share/man \
    1.12  		$CONFIGURE_ARGS &&
    1.13 -	make && make DESTDIR=$DESTDIR install
    1.14 +	make && make -j 1 DESTDIR=$DESTDIR install
    1.15  }
    1.16  
    1.17  # Rules to gen a SliTaz package suitable for Tazpkg.
     2.1 --- a/tcc/receipt	Wed Dec 12 23:00:52 2018 +0100
     2.2 +++ b/tcc/receipt	Wed Dec 12 23:37:24 2018 +0100
     2.3 @@ -23,6 +23,7 @@
     2.4  # Rules to configure and make the package.
     2.5  compile_rules()
     2.6  {
     2.7 +	sed -i 's|uname -m|echo i686|' configure
     2.8  	case "$ARCH" in
     2.9  		arm)
    2.10  			./configure \
    2.11 @@ -44,4 +45,3 @@
    2.12  	mkdir -p $fs/usr/bin
    2.13  	cp -a $install/usr/bin/tcc $fs/usr/bin
    2.14  }
    2.15 -