wok view rt-source/receipt @ rev 8197

imported patch toolchain/lzma.patch
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 27 00:20:50 2011 +0100 (2011-01-27)
parents
children 2074057740e1
line source
1 # SliTaz package receipt.
3 PACKAGE="rt-source"
4 VERSION="2.6.33.7"
5 RT_VERSION="rt29"
6 CATEGORY="development"
7 SHORT_DESC="Realtime Preemption patched low latency Linux kernel sources."
8 MAINTAINER="devl547@gmail.com"
9 WEB_SITE="http://www.kernel.org/pub/linux/kernel/projects/rt/"
10 BUILD_DEPENDS="bzip2"
11 TARBALL="linux-$VERSION.tar.bz2"
12 RT_TARBALL="patch-$VERSION-$RT_VERSION.bz2"
13 WGET_URL="http://www.kernel.org/pub/linux/kernel/v2.6/$TARBALL"
14 RT_URL="$WEB_SITE/$RT_TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 wget $RT_URL
20 bzip2 -d $RT_TARBALL
21 mv linux-$VERSION $PACKAGE-$VERSION-$RT_VERSION
22 cd $PACKAGE-$VERSION-$RT_VERSION
23 patch -p1 < ../patch-$VERSION-$RT_VERSION
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/src/
30 mv $PACKAGE-$VERSION-$RT_VERSION $fs/usr/src/
31 }