wok-current annotate linux-api-headers/receipt @ rev 7292

Up: openssl to 1.0.0b.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Nov 16 17:19:23 2010 +0000 (2010-11-16)
parents
children 0989070c1c4e
rev   line source
slaxemulator@6654 1 # SliTaz package receipt.
slaxemulator@6654 2
slaxemulator@6654 3 PACKAGE="linux-api-headers"
slaxemulator@6654 4 VERSION="2.6.34"
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 BUILD_DEPENDS="perl"
slaxemulator@6654 11 WEB_SITE="http://www.kernel.org/"
slaxemulator@6654 12 WGET_URL="http://www.eu.kernel.org/pub/linux/kernel/v${VERSION:0:3}/$TARBALL"
slaxemulator@6654 13
slaxemulator@6654 14 # Rules to configure and make the package.
slaxemulator@6654 15 compile_rules()
slaxemulator@6654 16 {
slaxemulator@6654 17 cd $src
slaxemulator@6654 18
slaxemulator@6654 19 # fix issues with transition of scsi.h from glibc
slaxemulator@6654 20 patch -Np1 -i ../stuff/scsi.patch
slaxemulator@6654 21
slaxemulator@6654 22 make mrproper
slaxemulator@6654 23 make headers_check
slaxemulator@6654 24 make INSTALL_HDR_PATH=$PWD/_pkg/usr headers_install
slaxemulator@6654 25 }
slaxemulator@6654 26
slaxemulator@6654 27 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6654 28 genpkg_rules()
slaxemulator@6654 29 {
slaxemulator@6654 30 mkdir -p $fs/usr
slaxemulator@6654 31 cp -a $_pkg/usr/include $fs/usr
slaxemulator@6654 32
slaxemulator@6654 33 rm -f $(find ${fs} -name .install -or -name ..install.cmd)
slaxemulator@6654 34 }
slaxemulator@6654 35
slaxemulator@6654 36 # Post install commands for Tazpkg.
slaxemulator@6654 37 post_install()
slaxemulator@6654 38 {
slaxemulator@6654 39 # Removed old linux-headers
slaxemulator@6654 40 rm -rf $1/var/lib/tazpkg/installed/linux-headers 2>/dev/null
slaxemulator@6654 41 }