wok diff linux-api-headers/receipt @ rev 8342

Fix: screen doesn't support DESTDIR environnment variable; fix bdep
author Antoine Bodin <gokhlayeh@slitaz.org>
date Wed Feb 02 05:33:44 2011 +0100 (2011-02-02)
parents fbe11f5b74e3
children 8273bd11046a
line diff
     1.1 --- a/linux-api-headers/receipt	Mon Oct 11 02:17:02 2010 +0000
     1.2 +++ b/linux-api-headers/receipt	Wed Feb 02 05:33:44 2011 +0100
     1.3 @@ -1,27 +1,34 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="linux-api-headers"
     1.7 -VERSION="2.6.34"
     1.8 +VERSION="2.6.37"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Kernel headers sanitized for use in userspace."
    1.11  MAINTAINER="devel@slitaz.org"
    1.12  SOURCE="linux"
    1.13  TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.14 -BUILD_DEPENDS="perl"
    1.15  WEB_SITE="http://www.kernel.org/"
    1.16  WGET_URL="http://www.eu.kernel.org/pub/linux/kernel/v${VERSION:0:3}/$TARBALL"
    1.17  
    1.18 +# Rules to compile & install the temporary toolchain.
    1.19 +cook_tmp_toolchain()
    1.20 +{
    1.21 +	cd $src
    1.22 +
    1.23 +	make mrproper &&
    1.24 +	make headers_check &&
    1.25 +	make INSTALL_HDR_PATH=dest headers_install &&
    1.26 +	cp -r dest/include/* /tools/include
    1.27 +}
    1.28 +
    1.29  # Rules to configure and make the package.
    1.30  compile_rules()
    1.31  {
    1.32  	cd $src
    1.33  
    1.34 -	# fix issues with transition of scsi.h from glibc
    1.35 -	patch -Np1 -i ../stuff/scsi.patch
    1.36 -
    1.37 -	make mrproper
    1.38 -	make headers_check
    1.39 -	make INSTALL_HDR_PATH=$PWD/_pkg/usr headers_install
    1.40 +	make mrproper &&
    1.41 +	make headers_check &&
    1.42 +	make INSTALL_HDR_PATH=$DESTDIR/usr headers_install
    1.43  }
    1.44  
    1.45  # Rules to gen a SliTaz package suitable for Tazpkg.