wok diff gcc3/receipt @ rev 14195
emacs-pkg-vala-mode: tidy receipt
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Mar 12 23:05:45 2013 +0100 (2013-03-12) |
parents | 8437ad3ae814 |
children | 380ffe05937a |
line diff
1.1 --- a/gcc3/receipt Tue Jan 15 11:21:28 2013 +0100 1.2 +++ b/gcc3/receipt Tue Mar 12 23:05:45 2013 +0100 1.3 @@ -9,7 +9,6 @@ 1.4 TARBALL="$SOURCE-$VERSION.tar.bz2" 1.5 WEB_SITE="http://gcc.gnu.org/" 1.6 WGET_URL="$GNU_MIRROR/$SOURCE/$SOURCE-$VERSION/$TARBALL" 1.7 -#WGET_URL="ftp://ftp.irisa.fr/pub/mirrors/gcc.gnu.org/gcc/releases/gcc-$VERSION/$TARBALL" 1.8 TAGS="compiler C C++" 1.9 1.10 BUILD_DEPENDS="gawk" 1.11 @@ -18,24 +17,22 @@ 1.12 # Rules to configure and make the package. 1.13 compile_rules() 1.14 { 1.15 - mkdir gcc-build 1.16 - cd gcc-build 1.17 - $src/configure --prefix=/usr --libexecdir=/usr/lib \ 1.18 - --infodir=/usr/share/info --mandir=/usr/share/man --enable-nls \ 1.19 - --enable-languages=c,c++ --enable-shared --with-system-zlib \ 1.20 - --enable-clocale=gnu --enable-objc-gc --enable-__cxa_atexit \ 1.21 - --enable-threads=posix --with-tune=$ARCH \ 1.22 - --program-suffix=-3 1.23 - make $MAKEFLAGS bootstrap 1.24 - # Make install in the source tree to help creating derivated pkgs 1.25 - # and keep $_pkg variable set for genpkg. 1.26 - make $MAKEFLAGS install 1.27 + mkdir gcc-build 1.28 + cd gcc-build 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 1.35 + make $MAKEFLAGS bootstrap && 1.36 + make $MAKEFLAGS install 1.37 } 1.38 1.39 # Rules to gen a SliTaz package suitable for Tazpkg. 1.40 genpkg_rules() 1.41 { 1.42 - mkdir -p $fs/usr 1.43 - cp -a $_pkg/usr/bin $_pkg/usr/lib $_pkg/usr/include $fs/usr 1.44 - rm $fs/usr/lib/lib* 1.45 + mkdir -p $fs/usr 1.46 + cp -a $install/usr/bin $install/usr/lib $install/usr/include $fs/usr 1.47 + rm $fs/usr/lib/lib* 1.48 }