wok-4.x annotate rt-source/receipt @ 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 779a5cde7989
children f60618139f66
rev   line source
devl547@6107 1 # SliTaz package receipt.
devl547@6107 2
devl547@6107 3 PACKAGE="rt-source"
devl547@6107 4 VERSION="2.6.33.7"
pascal@9222 5 RT_VERSION=".2-rt30"
devl547@6107 6 CATEGORY="development"
devl547@6107 7 SHORT_DESC="Realtime Preemption patched low latency Linux kernel sources."
devl547@6107 8 MAINTAINER="devl547@gmail.com"
devl547@6107 9 WEB_SITE="http://www.kernel.org/pub/linux/kernel/projects/rt/"
devl547@6107 10 BUILD_DEPENDS="bzip2"
devl547@6107 11 TARBALL="linux-$VERSION.tar.bz2"
pascal@9222 12 RT_TARBALL="patch-$VERSION$RT_VERSION.bz2"
devl547@6107 13 WGET_URL="http://www.kernel.org/pub/linux/kernel/v2.6/$TARBALL"
devl547@6107 14 RT_URL="$WEB_SITE/$RT_TARBALL"
devl547@6107 15
devl547@6107 16 # Rules to configure and make the package.
devl547@6107 17 compile_rules()
devl547@6107 18 {
pascal@9222 19 cd $src
pascal@9222 20 mkdir -p _pkg/$PACKAGE-$VERSION$RT_VERSION
pascal@9222 21 mv * _pkg/$PACKAGE-$VERSION$RT_VERSION 2> /dev/null
devl547@6107 22 wget $RT_URL
devl547@6107 23 bzip2 -d $RT_TARBALL
pascal@9222 24 cd _pkg/$PACKAGE-$VERSION$RT_VERSION
pascal@9222 25 patch -p1 < ../../patch-$VERSION$RT_VERSION
devl547@6107 26 }
devl547@6107 27
devl547@6107 28 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@6107 29 genpkg_rules()
devl547@6107 30 {
devl547@6107 31 mkdir -p $fs/usr/src/
pascal@9222 32 mv $_pkg/$PACKAGE-$VERSION$RT_VERSION $fs/usr/src/
devl547@6107 33 }