wok-undigest rev 708

mingw32-gcc: remove tazwok stuff
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 29 16:49:52 2012 +0200 (2012-05-29)
parents 7b55bb5ff373
children 8751cfc604ef
files mingw32-gcc/receipt
line diff
     1.1 --- a/mingw32-gcc/receipt	Tue May 29 16:16:45 2012 +0200
     1.2 +++ b/mingw32-gcc/receipt	Tue May 29 16:49:52 2012 +0200
     1.3 @@ -10,7 +10,7 @@
     1.4  mingw32-runtime-headers mingw32-w32api mingw32-runtime"
     1.5  BUILD_DEPENDS="slitaz-toolchain bison flex mingw32-binutils \
     1.6  mingw32-runtime-headers mingw32-w32api-headers mingw32-gcc-c \
     1.7 -mingw32-w32api mingw32-runtime mingw32-g++ mingw32-ada"
     1.8 +mingw32-w32api mingw32-runtime"
     1.9  PROVIDE="mingw32-gcc-c"
    1.10  TARBALL="$SOURCE-$VERSION-src.tar.gz"
    1.11  WEB_SITE="http://www.mingw.org/"
    1.12 @@ -31,16 +31,15 @@
    1.13  		return 1
    1.14  	fi
    1.15  
    1.16 -	report open-bloc
    1.17 -
    1.18 -	for s in mingw32-g++ mingw32-ada; do
    1.19 -		tazwok get-src $s --target=$PACKAGE-$VERSION && continue
    1.20 -		report close-bloc
    1.21 +	for tgz in gcc-g++-$VERSION-src.tar.gz gcc-ada-$VERSION-src.tar.gz; do
    1.22 +		[ -s $SOURCES_REPOSITORY/$tgz ] ||
    1.23 +			wget -P $SOURCES_REPOSITORY $MINGW32_URL/$tgz
    1.24 +		[ -s $SOURCES_REPOSITORY/$tgz ] &&
    1.25 +			tar xzf $SOURCES_REPOSITORY/$tgz && continue
    1.26 +		echo "Can't download $MINGW32_URL/$tgz abort."
    1.27  		return 1
    1.28  	done
    1.29  
    1.30 -	report step "Running compilation"
    1.31 -
    1.32  	rm -f -r $src/binutils
    1.33  	mkdir -p $SOURCE-$VERSION-build
    1.34  	cd $SOURCE-$VERSION-build
    1.35 @@ -60,9 +59,7 @@
    1.36  		--enable-sjlj-exceptions \
    1.37  		$CONFIGURE_ARGS &&
    1.38  	make -j 4 CFLAGS="-O2 -fomit-frame-pointer" LDFLAGS="-s"  &&
    1.39 -	make DESTDIR=$src/_pkg install &&
    1.40 -	report close-bloc
    1.41 -	} || { report close-bloc; return 1; }
    1.42 +	make DESTDIR=$DESTDIR install
    1.43  }
    1.44  
    1.45  # Rules to gen a SliTaz package suitable for Tazpkg.