wok rev 20254

firefox: force 32 bits arch (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 12 22:19:24 2018 +0100 (3 months ago)
parents b61d22b13b69
children 1ed1fa7d10cd
files firefox/receipt seamonkey/receipt thunderbird/receipt
line diff
     1.1 --- a/firefox/receipt	Mon Mar 12 22:07:54 2018 +0100
     1.2 +++ b/firefox/receipt	Mon Mar 12 22:19:24 2018 +0100
     1.3 @@ -28,8 +28,6 @@
     1.4  
     1.5  compile_rules()
     1.6  {
     1.7 -	grep -rsl 'uname -m' $src | xargs sed -i 's|uname -m|echo i686|'
     1.8 -
     1.9  	# load mozconfig
    1.10  	cp -a $stuff/mozconfig $src
    1.11  
    1.12 @@ -44,7 +42,7 @@
    1.13  	local tarball tarpath fn1 fn2
    1.14  	tarpath=$src/obj-firefox/dist
    1.15  	fn1="$tarpath/firefox-${VERSION%esr}.en-US.linux-$ARCH.tar.bz2"
    1.16 -	fn2="$tarpath/firefox-${VERSION%esr}.en-US.linux-$(uname -m).tar.bz2"
    1.17 +	fn2="$tarpath/firefox-${VERSION%esr}.en-US.linux-i686.tar.bz2"
    1.18  	[ -e "$fn1" ] && tarball="$fn1" && echo "$ARCH tarball found"
    1.19  	[ -e "$fn2" ] && tarball="$fn2" && echo "$(uname -m) tarball found"
    1.20  	[ -z "$tarball" ] && echo "ERROR: tarball not found" && exit 1
     2.1 --- a/seamonkey/receipt	Mon Mar 12 22:07:54 2018 +0100
     2.2 +++ b/seamonkey/receipt	Mon Mar 12 22:19:24 2018 +0100
     2.3 @@ -20,6 +20,7 @@
     2.4  # Rules to configure and make the package.
     2.5  compile_rules()
     2.6  {
     2.7 +	grep -rsl 'uname -m' $src | xargs sed -i 's|uname -m|echo i686|'
     2.8  	cp -a $stuff/seamonkey.mozconfig $src/.mozconfig
     2.9  	cd $src
    2.10  	sed -i -e 's/USE_INPUT_PARTITION/USE_INPUT_FRAGMENTS/' \
     3.1 --- a/thunderbird/receipt	Mon Mar 12 22:07:54 2018 +0100
     3.2 +++ b/thunderbird/receipt	Mon Mar 12 22:19:24 2018 +0100
     3.3 @@ -44,7 +44,7 @@
     3.4  	local tarball tarpath fn1 fn2
     3.5  	tarpath=$src/obj-thunderbird/mozilla/dist
     3.6  	fn1="$tarpath/thunderbird-${VERSION%esr}.en-US.linux-$ARCH.tar.bz2"
     3.7 -	fn2="$tarpath/thunderbird-${VERSION%esr}.en-US.linux-$(uname -m).tar.bz2"
     3.8 +	fn2="$tarpath/thunderbird-${VERSION%esr}.en-US.linux-i686.tar.bz2"
     3.9  	[ -e "$fn1" ] && tarball="$fn1" && echo "$ARCH tarball found"
    3.10  	[ -e "$fn2" ] && tarball="$fn2" && echo "$(uname -m) tarball found"
    3.11  	[ -z "$tarball" ] && echo "ERROR: tarball not found" && exit 1