wok rev 10747

rt-source*: move to undigest
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 30 12:20:27 2011 +0200 (2011-05-30)
parents 50879362c14d
children d2779aeec6a5
files rt-source-patch/receipt rt-source/receipt
line diff
     1.1 --- a/rt-source-patch/receipt	Mon May 30 11:03:56 2011 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,11 +0,0 @@
     1.4 -# SliTaz package receipt.
     1.5 -
     1.6 -PACKAGE="rt-source-patch"
     1.7 -VERSION="2.6.33.9-rt31"
     1.8 -CATEGORY="meta"
     1.9 -SHORT_DESC="Realtime Preempation patch (empty package)"
    1.10 -MAINTAINER="slaxemulator@gmail.com"
    1.11 -TARBALL="patch-$VERSION.bz2"
    1.12 -WEB_SITE="http://www.kernel.org/pub/linux/kernel/projects/rt"
    1.13 -WGET_URL="$WEB_SITE/$TARBALL"
    1.14 -COOK_OPT="!unpack !repack_src !fs"
     2.1 --- a/rt-source/receipt	Mon May 30 11:03:56 2011 +0200
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,40 +0,0 @@
     2.4 -# SliTaz package receipt.
     2.5 -
     2.6 -PACKAGE="rt-source"
     2.7 -VERSION="2.6.33.7"
     2.8 -RT_VERSION=".2-rt30"
     2.9 -CATEGORY="development"
    2.10 -SHORT_DESC="Realtime Preemption patched low latency Linux kernel sources."
    2.11 -MAINTAINER="devl547@gmail.com"
    2.12 -WEB_SITE="http://www.kernel.org/pub/linux/kernel/projects/rt/"
    2.13 -BUILD_DEPENDS="bzip2 rt-source-patch"
    2.14 -SOURCE="linux"
    2.15 -TARBALL="$SOURCE-$VERSION.tar.bz2"
    2.16 -RT_TARBALL="patch-$VERSION$RT_VERSION.bz2"
    2.17 -WGET_URL="http://www.kernel.org/pub/linux/kernel/v2.6/$TARBALL"
    2.18 -
    2.19 -# Rules to configure and make the package.
    2.20 -compile_rules()
    2.21 -{
    2.22 -	cd $src
    2.23 -	mkdir -p _pkg/$PACKAGE-$VERSION$RT_VERSION
    2.24 -	mv * _pkg/$PACKAGE-$VERSION$RT_VERSION 2> /dev/null
    2.25 -	# can't extract since its bzip2 only and not tar.bz2
    2.26 -	if [ ! -f $SOURCE_REPOSITORY/$RT_TARBALL ]; then
    2.27 -		tazwok get-src rt-source-patch
    2.28 -	fi
    2.29 -
    2.30 -	if [ -f $SOURCE_REPOSITORY/$RT_TARBALL ]; then
    2.31 -		cp $SOURCE_REPOSITORY/$RT_TARBALL .
    2.32 -		bunzip2 -d $RT_TARBALL
    2.33 -	fi
    2.34 -	cd _pkg/$PACKAGE-$VERSION$RT_VERSION
    2.35 -	patch -p1 < ../../patch-$VERSION$RT_VERSION
    2.36 -}
    2.37 -
    2.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
    2.39 -genpkg_rules()
    2.40 -{
    2.41 -	mkdir -p $fs/usr/src/
    2.42 -	mv $_pkg/$PACKAGE-$VERSION$RT_VERSION $fs/usr/src/
    2.43 -}
    2.44 \ No newline at end of file