wok-4.x view rt-source/receipt @ rev 9841
Up: virtualbox-ose to 4.0.6. Added curl-dev to build depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun May 15 14:19:43 2011 +0000 (2011-05-15) |
parents | 2074057740e1 |
children |
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 rt-source-patch"
11 SOURCE="linux"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 RT_TARBALL="patch-$VERSION$RT_VERSION.bz2"
14 WGET_URL="http://www.kernel.org/pub/linux/kernel/v2.6/$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 # can't extract since its bzip2 only and not tar.bz2
23 if [ ! -f $SOURCE_REPOSITORY/$RT_TARBALL ]; then
24 tazwok get-src rt-source-patch
25 fi
27 if [ -f $SOURCE_REPOSITORY/$RT_TARBALL ]; then
28 cp $SOURCE_REPOSITORY/$RT_TARBALL .
29 bunzip2 -d $RT_TARBALL
30 fi
31 cd _pkg/$PACKAGE-$VERSION$RT_VERSION
32 patch -p1 < ../../patch-$VERSION$RT_VERSION
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/src/
39 mv $_pkg/$PACKAGE-$VERSION$RT_VERSION $fs/usr/src/
40 }