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