wok-current annotate rt-source/receipt @ rev 8630

Up: libgudev 166
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Feb 15 03:16:51 2011 +0100 (2011-02-15)
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 }