wok-next diff gcc6/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents d958fec46c9f
children
line diff
     1.1 --- a/gcc6/receipt	Tue Jul 10 20:08:05 2018 +0300
     1.2 +++ b/gcc6/receipt	Sat Nov 21 14:32:44 2020 +0100
     1.3 @@ -4,7 +4,7 @@
     1.4  VERSION="6.4.0"
     1.5  CATEGORY="development"
     1.6  SHORT_DESC="The GNU Compiler Collection"
     1.7 -MAINTAINER="pankso@slitaz.org"
     1.8 +MAINTAINER="devel@slitaz.org"
     1.9  LICENSE="GPL2"
    1.10  WEB_SITE="http://gcc.gnu.org/"
    1.11  REPOLOGY="gcc"
    1.12 @@ -16,13 +16,10 @@
    1.13  # for cookutils that are not used by tazwok/cook-toolchain since it installs
    1.14  # and uses its own copy.
    1.15  BUILD_DEPENDS="mpc-library-dev mpfr-dev gmp-dev elfutils-dev zlib-dev"
    1.16 -SPLIT="gcc6-lib-base"
    1.17 +SPLIT="$PACKAGE-lib-base"
    1.18  
    1.19  compile_rules() {
    1.20  	case $ARCH in
    1.21 -		arm*)
    1.22 -			ARCH_ARGS="--with-tune=armv6"
    1.23 -			;;
    1.24  		i?86)
    1.25  			ARCH_ARGS="--with-tune=$ARCH"
    1.26  			export CFLAGS="-march=i486 -Os -pipe"
    1.27 @@ -46,12 +43,13 @@
    1.28  
    1.29  	sed -i 's/^T_CFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in
    1.30  
    1.31 -	mkdir -p ../gcc-build && cd ../gcc-build
    1.32 +	mkdir -p ../gcc-build
    1.33 +	cd ../gcc-build
    1.34  
    1.35  	$src/configure \
    1.36  		--libexecdir=/usr/lib \
    1.37  		--enable-nls \
    1.38 -		--enable-languages=${languages} \
    1.39 +		--enable-languages=$languages \
    1.40  		--enable-shared \
    1.41  		--with-system-zlib \
    1.42  		--enable-clocale=gnu \
    1.43 @@ -66,7 +64,8 @@
    1.44  		--disable-multilib \
    1.45  		$ARCH_ARGS \
    1.46  		$CONFIGURE_ARGS &&
    1.47 -	make && make install
    1.48 +	make &&
    1.49 +	make install
    1.50  }
    1.51  
    1.52  genpkg_rules() {
    1.53 @@ -98,7 +97,7 @@
    1.54  	esac
    1.55  }
    1.56  
    1.57 -post_remove_gcc61_lib_base() {
    1.58 +post_remove_gcc6_lib_base() {
    1.59  	cd "$1/usr/lib"
    1.60  	ln -s libstdc++.so.6.*.* libstdc++.so.6
    1.61  	ln -s libstdc++.so.6.*.* libstdc++.so