wok-undigest view rt-source/receipt @ rev 990
rt-source: fix WGET_URL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 20 15:32:39 2013 +0200 (2013-04-20) |
parents | 7c6880d0a22c |
children | 20c10a0398b5 |
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="ftp://ftp.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 $install/$PACKAGE-$VERSION$RT_VERSION
21 mv * $install/$PACKAGE-$VERSION$RT_VERSION 2> /dev/null
22 # can't extract since its bzip2 only and not tar.bz2
24 if [ -f $SOURCE_REPOSITORY/$RT_TARBALL ]; then
25 cp $SOURCE_REPOSITORY/$RT_TARBALL .
26 bunzip2 -d $RT_TARBALL
27 fi
28 cd $install/$PACKAGE-$VERSION$RT_VERSION
29 patch -p1 < $src/patch-$VERSION$RT_VERSION
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/src/
36 mv $install/$PACKAGE-$VERSION$RT_VERSION $fs/usr/src/
37 }