wok view rt-source/receipt @ rev 9239

strigi: fix BUILD_DEPENDS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 12 16:08:57 2011 +0100 (2011-03-12)
parents 779a5cde7989
children f60618139f66
line source
1 # SliTaz package receipt.
3 PACKAGE="rt-source"
4 VERSION="2.6.33.7"
5 RT_VERSION=".2-rt30"
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 cd $src
20 mkdir -p _pkg/$PACKAGE-$VERSION$RT_VERSION
21 mv * _pkg/$PACKAGE-$VERSION$RT_VERSION 2> /dev/null
22 wget $RT_URL
23 bzip2 -d $RT_TARBALL
24 cd _pkg/$PACKAGE-$VERSION$RT_VERSION
25 patch -p1 < ../../patch-$VERSION$RT_VERSION
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/src/
32 mv $_pkg/$PACKAGE-$VERSION$RT_VERSION $fs/usr/src/
33 }