wok-undigest diff rt-source/receipt @ rev 622

Add: gdal
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Feb 01 07:46:15 2012 +0100 (2012-02-01)
parents
children 4689e34f5b34
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/rt-source/receipt	Wed Feb 01 07:46:15 2012 +0100
     1.3 @@ -0,0 +1,40 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="rt-source"
     1.7 +VERSION="2.6.33.7"
     1.8 +RT_VERSION=".2-rt30"
     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 rt-source-patch"
    1.14 +SOURCE="linux"
    1.15 +TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.16 +RT_TARBALL="patch-$VERSION$RT_VERSION.bz2"
    1.17 +WGET_URL="http://www.kernel.org/pub/linux/kernel/v2.6/$TARBALL"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	cd $src
    1.23 +	mkdir -p _pkg/$PACKAGE-$VERSION$RT_VERSION
    1.24 +	mv * _pkg/$PACKAGE-$VERSION$RT_VERSION 2> /dev/null
    1.25 +	# can't extract since its bzip2 only and not tar.bz2
    1.26 +	if [ ! -f $SOURCE_REPOSITORY/$RT_TARBALL ]; then
    1.27 +		tazwok get-src rt-source-patch
    1.28 +	fi
    1.29 +
    1.30 +	if [ -f $SOURCE_REPOSITORY/$RT_TARBALL ]; then
    1.31 +		cp $SOURCE_REPOSITORY/$RT_TARBALL .
    1.32 +		bunzip2 -d $RT_TARBALL
    1.33 +	fi
    1.34 +	cd _pkg/$PACKAGE-$VERSION$RT_VERSION
    1.35 +	patch -p1 < ../../patch-$VERSION$RT_VERSION
    1.36 +}
    1.37 +
    1.38 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.39 +genpkg_rules()
    1.40 +{
    1.41 +	mkdir -p $fs/usr/src/
    1.42 +	mv $_pkg/$PACKAGE-$VERSION$RT_VERSION $fs/usr/src/
    1.43 +}
    1.44 \ No newline at end of file