wok annotate rt-source/receipt @ rev 6503
Up: python-weberror to 0.10.2
author | Julien Rabier <taziden@slitaz.org> |
---|---|
date | Fri Oct 01 20:59:43 2010 +0000 (2010-10-01) |
parents | |
children | 2074057740e1 |
rev | line source |
---|---|
devl547@6107 | 1 # SliTaz package receipt. |
devl547@6107 | 2 |
devl547@6107 | 3 PACKAGE="rt-source" |
devl547@6107 | 4 VERSION="2.6.33.7" |
devl547@6107 | 5 RT_VERSION="rt29" |
devl547@6107 | 6 CATEGORY="development" |
devl547@6107 | 7 SHORT_DESC="Realtime Preemption patched low latency Linux kernel sources." |
devl547@6107 | 8 MAINTAINER="devl547@gmail.com" |
devl547@6107 | 9 WEB_SITE="http://www.kernel.org/pub/linux/kernel/projects/rt/" |
devl547@6107 | 10 BUILD_DEPENDS="bzip2" |
devl547@6107 | 11 TARBALL="linux-$VERSION.tar.bz2" |
devl547@6107 | 12 RT_TARBALL="patch-$VERSION-$RT_VERSION.bz2" |
devl547@6107 | 13 WGET_URL="http://www.kernel.org/pub/linux/kernel/v2.6/$TARBALL" |
devl547@6107 | 14 RT_URL="$WEB_SITE/$RT_TARBALL" |
devl547@6107 | 15 |
devl547@6107 | 16 # Rules to configure and make the package. |
devl547@6107 | 17 compile_rules() |
devl547@6107 | 18 { |
devl547@6107 | 19 wget $RT_URL |
devl547@6107 | 20 bzip2 -d $RT_TARBALL |
devl547@6107 | 21 mv linux-$VERSION $PACKAGE-$VERSION-$RT_VERSION |
devl547@6107 | 22 cd $PACKAGE-$VERSION-$RT_VERSION |
devl547@6107 | 23 patch -p1 < ../patch-$VERSION-$RT_VERSION |
devl547@6107 | 24 } |
devl547@6107 | 25 |
devl547@6107 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@6107 | 27 genpkg_rules() |
devl547@6107 | 28 { |
devl547@6107 | 29 mkdir -p $fs/usr/src/ |
devl547@6107 | 30 mv $PACKAGE-$VERSION-$RT_VERSION $fs/usr/src/ |
devl547@6107 | 31 } |