wok-next view rt-source/receipt @ rev 9249
Down mpd 15.15 (I think we need tcp_wrappers)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Mar 13 21:32:02 2011 +0000 (2011-03-13) |
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 }