wok-next diff rt-source/receipt @ rev 6525
Up mpc-library (0.8.2) caused by gmp upgrade
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 03 09:20:54 2010 +0200 (2010-10-03) |
parents | |
children | 2074057740e1 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/rt-source/receipt Sun Oct 03 09:20:54 2010 +0200 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="rt-source" 1.7 +VERSION="2.6.33.7" 1.8 +RT_VERSION="rt29" 1.9 +CATEGORY="development" 1.10 +SHORT_DESC="Realtime Preemption patched low latency Linux kernel sources." 1.11 +MAINTAINER="devl547@gmail.com" 1.12 +WEB_SITE="http://www.kernel.org/pub/linux/kernel/projects/rt/" 1.13 +BUILD_DEPENDS="bzip2" 1.14 +TARBALL="linux-$VERSION.tar.bz2" 1.15 +RT_TARBALL="patch-$VERSION-$RT_VERSION.bz2" 1.16 +WGET_URL="http://www.kernel.org/pub/linux/kernel/v2.6/$TARBALL" 1.17 +RT_URL="$WEB_SITE/$RT_TARBALL" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + wget $RT_URL 1.23 + bzip2 -d $RT_TARBALL 1.24 + mv linux-$VERSION $PACKAGE-$VERSION-$RT_VERSION 1.25 + cd $PACKAGE-$VERSION-$RT_VERSION 1.26 + patch -p1 < ../patch-$VERSION-$RT_VERSION 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + mkdir -p $fs/usr/src/ 1.33 + mv $PACKAGE-$VERSION-$RT_VERSION $fs/usr/src/ 1.34 +} 1.35 \ No newline at end of file