wok-undigest rev 990

rt-source: fix WGET_URL
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 20 15:32:39 2013 +0200 (2013-04-20)
parents 32ee42691c1c
children d69a9ebd2ff0
files rt-source/receipt
line diff
     1.1 --- a/rt-source/receipt	Sat Apr 20 15:28:03 2013 +0200
     1.2 +++ b/rt-source/receipt	Sat Apr 20 15:32:39 2013 +0200
     1.3 @@ -11,30 +11,27 @@
     1.4  SOURCE="linux"
     1.5  TARBALL="$SOURCE-$VERSION.tar.bz2"
     1.6  RT_TARBALL="patch-$VERSION$RT_VERSION.bz2"
     1.7 -WGET_URL="http://www.kernel.org/pub/linux/kernel/v2.6/$TARBALL"
     1.8 +WGET_URL="ftp://ftp.kernel.org/pub/linux/kernel/v2.6/$TARBALL"
     1.9  
    1.10  # Rules to configure and make the package.
    1.11  compile_rules()
    1.12  {
    1.13  	cd $src
    1.14 -	mkdir -p _pkg/$PACKAGE-$VERSION$RT_VERSION
    1.15 -	mv * _pkg/$PACKAGE-$VERSION$RT_VERSION 2> /dev/null
    1.16 +	mkdir -p $install/$PACKAGE-$VERSION$RT_VERSION
    1.17 +	mv * $install/$PACKAGE-$VERSION$RT_VERSION 2> /dev/null
    1.18  	# can't extract since its bzip2 only and not tar.bz2
    1.19 -	if [ ! -f $SOURCE_REPOSITORY/$RT_TARBALL ]; then
    1.20 -		tazwok get-src rt-source-patch
    1.21 -	fi
    1.22  
    1.23  	if [ -f $SOURCE_REPOSITORY/$RT_TARBALL ]; then
    1.24  		cp $SOURCE_REPOSITORY/$RT_TARBALL .
    1.25  		bunzip2 -d $RT_TARBALL
    1.26  	fi
    1.27 -	cd _pkg/$PACKAGE-$VERSION$RT_VERSION
    1.28 -	patch -p1 < ../../patch-$VERSION$RT_VERSION
    1.29 +	cd $install/$PACKAGE-$VERSION$RT_VERSION
    1.30 +	patch -p1 < $src/patch-$VERSION$RT_VERSION
    1.31  }
    1.32  
    1.33  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.34  genpkg_rules()
    1.35  {
    1.36  	mkdir -p $fs/usr/src/
    1.37 -	mv $_pkg/$PACKAGE-$VERSION$RT_VERSION $fs/usr/src/
    1.38 +	mv $install/$PACKAGE-$VERSION$RT_VERSION $fs/usr/src/
    1.39  }
    1.40 \ No newline at end of file