wok-6.x diff gcc/receipt @ rev 5457

devfs2: fix wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 05 17:23:05 2010 +0200 (2010-05-05)
parents d02bf6d3d0a3
children 01b2b28aaebe
line diff
     1.1 --- a/gcc/receipt	Sun Apr 11 19:28:59 2010 +0200
     1.2 +++ b/gcc/receipt	Wed May 05 17:23:05 2010 +0200
     1.3 @@ -1,15 +1,15 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gcc"
     1.7 -VERSION="4.4.3"
     1.8 +VERSION="4.5.0"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="The the GNU Compiler Collection."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  DEPENDS="libgomp gmp mpfr gcc-lib-base"
    1.13 -BUILD_DEPENDS="glibc-dev gawk flex gmp gmp-dev mpfr mpfr-dev"
    1.14 +BUILD_DEPENDS="glibc-dev gawk flex gmp gmp-dev mpfr mpfr-dev mpc-library"
    1.15  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.16  WEB_SITE="http://gcc.gnu.org/"
    1.17 -WGET_URL="http://gcc-uk.internet.bs/releases//$PACKAGE-$VERSION/$TARBALL"
    1.18 +WGET_URL="ftp://gcc.gnu.org/pub/gcc/releases/gcc-$VERSION/$TARBALL"
    1.19  
    1.20  # Rules to configure and make the package.
    1.21  compile_rules()
    1.22 @@ -17,8 +17,7 @@
    1.23  	# Use libiberty.a from binutils.
    1.24  	sed -i 's/install_to_$(INSTALL_DEST) //' \
    1.25  		$PACKAGE-$VERSION/libiberty/Makefile.in || exit 1
    1.26 -    mkdir gcc-build
    1.27 -    cd gcc-build
    1.28 +    mkdir -p gcc-build && cd gcc-build
    1.29      ../$PACKAGE-$VERSION/configure --prefix=/usr --libexecdir=/usr/lib \
    1.30      --infodir=/usr/share/info --mandir=/usr/share/man --enable-nls \
    1.31      --enable-languages=c,c++,objc,fortran --enable-shared --with-system-zlib \