wok-next rev 9222

Up rt-source (2.6.33.7.2-rt30)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 11 17:41:03 2011 +0100 (2011-03-11)
parents 97eae69977e8
children f1207145dcb3
files rt-source/receipt
line diff
     1.1 --- a/rt-source/receipt	Fri Mar 11 17:06:22 2011 +0100
     1.2 +++ b/rt-source/receipt	Fri Mar 11 17:41:03 2011 +0100
     1.3 @@ -2,30 +2,32 @@
     1.4  
     1.5  PACKAGE="rt-source"
     1.6  VERSION="2.6.33.7"
     1.7 -RT_VERSION="rt29"
     1.8 +RT_VERSION=".2-rt30"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Realtime Preemption patched low latency Linux kernel sources."
    1.11  MAINTAINER="devl547@gmail.com"
    1.12  WEB_SITE="http://www.kernel.org/pub/linux/kernel/projects/rt/"
    1.13  BUILD_DEPENDS="bzip2"
    1.14  TARBALL="linux-$VERSION.tar.bz2"
    1.15 -RT_TARBALL="patch-$VERSION-$RT_VERSION.bz2"
    1.16 +RT_TARBALL="patch-$VERSION$RT_VERSION.bz2"
    1.17  WGET_URL="http://www.kernel.org/pub/linux/kernel/v2.6/$TARBALL"
    1.18  RT_URL="$WEB_SITE/$RT_TARBALL"
    1.19  
    1.20  # Rules to configure and make the package.
    1.21  compile_rules()
    1.22  {
    1.23 +	cd $src
    1.24 +	mkdir -p _pkg/$PACKAGE-$VERSION$RT_VERSION
    1.25 +	mv * _pkg/$PACKAGE-$VERSION$RT_VERSION 2> /dev/null
    1.26  	wget $RT_URL
    1.27  	bzip2 -d $RT_TARBALL
    1.28 -	mv linux-$VERSION $PACKAGE-$VERSION-$RT_VERSION
    1.29 -	cd $PACKAGE-$VERSION-$RT_VERSION
    1.30 -	patch -p1 < ../patch-$VERSION-$RT_VERSION
    1.31 +	cd _pkg/$PACKAGE-$VERSION$RT_VERSION
    1.32 +	patch -p1 < ../../patch-$VERSION$RT_VERSION
    1.33  }
    1.34  
    1.35  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.36  genpkg_rules()
    1.37  {
    1.38  	mkdir -p $fs/usr/src/
    1.39 -	mv $PACKAGE-$VERSION-$RT_VERSION $fs/usr/src/
    1.40 +	mv $_pkg/$PACKAGE-$VERSION$RT_VERSION $fs/usr/src/
    1.41  }
    1.42 \ No newline at end of file