wok-6.x view rt-source/receipt @ rev 9932
gpa: fix bdeps
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed May 18 00:09:49 2011 +0200 (2011-05-18) |
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 }