wok-next view rt-source/receipt @ rev 6928
Up: elfutils to 0.149. Fixed it to build in clean chroot. Fixed it also to download sources with real wget by since sources are on https host. So now elfutils can download its sources just fine.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Oct 22 22:36:22 2010 +0000 (2010-10-22) |
parents | |
children | 2074057740e1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="rt-source"
4 VERSION="2.6.33.7"
5 RT_VERSION="rt29"
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 wget $RT_URL
20 bzip2 -d $RT_TARBALL
21 mv linux-$VERSION $PACKAGE-$VERSION-$RT_VERSION
22 cd $PACKAGE-$VERSION-$RT_VERSION
23 patch -p1 < ../patch-$VERSION-$RT_VERSION
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/src/
30 mv $PACKAGE-$VERSION-$RT_VERSION $fs/usr/src/
31 }