wok-next annotate linux-api-headers/receipt @ rev 8966

Removed all TARBALL, SRC_WANTED, and some BUILD_DEPENDS in wanted receipts. There not needed to be update.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Mar 02 03:12:51 2011 +0000 (2011-03-02)
parents 8273bd11046a
children 56c77b4c1490
rev   line source
slaxemulator@6654 1 # SliTaz package receipt.
slaxemulator@6654 2
slaxemulator@6654 3 PACKAGE="linux-api-headers"
gokhlayeh@8196 4 VERSION="2.6.37"
slaxemulator@6654 5 CATEGORY="development"
slaxemulator@6654 6 SHORT_DESC="Kernel headers sanitized for use in userspace."
slaxemulator@6654 7 MAINTAINER="devel@slitaz.org"
slaxemulator@6654 8 SOURCE="linux"
slaxemulator@6654 9 TARBALL="$SOURCE-$VERSION.tar.bz2"
slaxemulator@6654 10 WEB_SITE="http://www.kernel.org/"
slaxemulator@6654 11 WGET_URL="http://www.eu.kernel.org/pub/linux/kernel/v${VERSION:0:3}/$TARBALL"
slaxemulator@6654 12
gokhlayeh@8196 13 # Rules to compile & install the temporary toolchain.
gokhlayeh@8196 14 cook_tmp_toolchain()
gokhlayeh@8196 15 {
gokhlayeh@8196 16 cd $src
gokhlayeh@8196 17
gokhlayeh@8196 18 make mrproper &&
gokhlayeh@8196 19 make headers_check &&
gokhlayeh@8196 20 make INSTALL_HDR_PATH=dest headers_install &&
gokhlayeh@8196 21 cp -r dest/include/* /tools/include
gokhlayeh@8196 22 }
gokhlayeh@8196 23
slaxemulator@6654 24 # Rules to configure and make the package.
slaxemulator@6654 25 compile_rules()
slaxemulator@6654 26 {
slaxemulator@6654 27 cd $src
slaxemulator@6654 28
gokhlayeh@8196 29 make mrproper &&
gokhlayeh@8196 30 make headers_check &&
gokhlayeh@8196 31 make INSTALL_HDR_PATH=$DESTDIR/usr headers_install
slaxemulator@6654 32 }
slaxemulator@6654 33
slaxemulator@6654 34 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6654 35 genpkg_rules()
slaxemulator@6654 36 {
slaxemulator@6654 37 mkdir -p $fs/usr
slaxemulator@6654 38 cp -a $_pkg/usr/include $fs/usr
slaxemulator@6654 39
slaxemulator@6654 40 rm -f $(find ${fs} -name .install -or -name ..install.cmd)
slaxemulator@6654 41 }
slaxemulator@6654 42
slaxemulator@6654 43 # Post install commands for Tazpkg.
slaxemulator@6654 44 post_install()
slaxemulator@6654 45 {
slaxemulator@6654 46 # Removed old linux-headers
slaxemulator@6654 47 rm -rf $1/var/lib/tazpkg/installed/linux-headers 2>/dev/null
slaxemulator@6654 48 }