wok-next diff gcc3/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/gcc3/receipt Tue Jul 10 20:08:05 2018 +0300 1.2 +++ b/gcc3/receipt Sat Nov 21 14:32:44 2020 +0100 1.3 @@ -3,7 +3,7 @@ 1.4 PACKAGE="gcc3" 1.5 VERSION="3.4.6" 1.6 CATEGORY="development" 1.7 -SHORT_DESC="The GNU Compiler Collection." 1.8 +SHORT_DESC="The GNU Compiler Collection" 1.9 MAINTAINER="pascal.bellard@slitaz.org" 1.10 LICENSE="GPL2" 1.11 WEB_SITE="http://gcc.gnu.org/" 1.12 @@ -17,30 +17,35 @@ 1.13 BUILD_DEPENDS="gawk gcc49" 1.14 DEPENDS="gcc" 1.15 1.16 -# Rules to configure and make the package. 1.17 -compile_rules() 1.18 -{ 1.19 +compile_rules() { 1.20 sed -i 's/struct siginfo /siginfo_t /' gcc/config/*/linux*.h 1.21 - mkdir gcc-build 1.22 + mkdir gcc-build 1.23 cd gcc-build 1.24 - { 1.25 + 1.26 export LD_LIBRARY_PATH="/usr/libgcc49:$LD_LIBRARY_PATH" 1.27 export CC=gcc-49 1.28 export CXX=g++-49 1.29 - $src/configure --prefix=/usr --libexecdir=/usr/lib \ 1.30 - --infodir=/usr/share/info --mandir=/usr/share/man --enable-nls \ 1.31 - --enable-languages=c,c++ --enable-shared --with-system-zlib \ 1.32 - --enable-clocale=gnu --enable-objc-gc --enable-__cxa_atexit \ 1.33 - --enable-threads=posix --with-tune=$ARCH \ 1.34 - --program-suffix=-3 $CONFIGURE_ARGS 1.35 + $src/configure \ 1.36 + --prefix=/usr \ 1.37 + --libexecdir=/usr/lib \ 1.38 + --infodir=/usr/share/info \ 1.39 + --mandir=/usr/share/man \ 1.40 + --enable-nls \ 1.41 + --enable-languages=c,c++ \ 1.42 + --enable-shared \ 1.43 + --with-system-zlib \ 1.44 + --enable-clocale=gnu \ 1.45 + --enable-objc-gc \ 1.46 + --enable-__cxa_atexit \ 1.47 + --enable-threads=posix \ 1.48 + --with-tune=$ARCH \ 1.49 + --program-suffix=-3 \ 1.50 + $CONFIGURE_ARGS && 1.51 make $MAKEFLAGS bootstrap && 1.52 make $MAKEFLAGS install 1.53 - } 2>&1 | sed 's/: No such file/: no such file/' 1.54 } 1.55 1.56 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.57 -genpkg_rules() 1.58 -{ 1.59 +genpkg_rules() { 1.60 mkdir -p $fs/usr 1.61 cp -a $install/usr/bin $install/usr/lib $install/usr/include $fs/usr 1.62 rm $fs/usr/lib/lib*