wok rev 14181

linux-api-headers: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 11 12:18:04 2013 +0100 (2013-03-11)
parents 2d5f8d944cff
children 5f5b3ccf6376
files linux-api-headers/receipt
line diff
     1.1 --- a/linux-api-headers/receipt	Mon Mar 11 08:49:21 2013 +0100
     1.2 +++ b/linux-api-headers/receipt	Mon Mar 11 12:18:04 2013 +0100
     1.3 @@ -12,7 +12,7 @@
     1.4  WGET_URL="http://www.kernel.org/pub/linux/kernel/v3.0/$TARBALL"
     1.5  PROVIDE="linux-headers"
     1.6  
     1.7 -BUILD_DEPENDS="bash"
     1.8 +BUILD_DEPENDS="bash wget"
     1.9  
    1.10  [ "$KBASEVER" != "$VERSION" ] && PATCH="http://www.kernel.org/pub/linux/kernel/v3.0/patch-$VERSION.xz"
    1.11  
    1.12 @@ -32,12 +32,10 @@
    1.13  	cd $src
    1.14  	
    1.15  	if [ "$KBASEVER" != "$VERSION" ]; then
    1.16 -		if [ -f $SOURCES_REPOSITORY/$(basename $PATCH) ]; then
    1.17 -			xzcat $SOURCES_REPOSITORY/$(basename $PATCH) | patch -Np1
    1.18 -		else
    1.19 -			wget $PATCH -O $SRC/$(basename $PATCH)
    1.20 -			xzcat $SRC/$(basename $PATCH) | patch -Np1
    1.21 -		fi
    1.22 +		[ -s $SRC/$(basename $PATCH) ] ||
    1.23 +		wget --no-check-certificate $PATCH -O $SRC/$(basename $PATCH)
    1.24 +		xzcat $SRC/$(basename $PATCH) | patch -Np1
    1.25 +		touch done.patch-$VERSION
    1.26  	fi
    1.27  
    1.28  	make mrproper &&