wok-current view linux-api-headers/receipt @ rev 11458
lxdm: add intltootl to depends; put depends to gtk+
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Dec 17 11:42:21 2011 +0100 (2011-12-17) |
parents | 129bb5b11a7e |
children | 97e8e0e4f878 |
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
17 make mrproper &&
18 make headers_check &&
19 make INSTALL_HDR_PATH=dest headers_install &&
20 cp -r dest/include/* /tools/include
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 make mrproper &&
28 make headers_check &&
29 make INSTALL_HDR_PATH=$DESTDIR/usr headers_install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $_pkg/usr/include $fs/usr
37 rm -f $(find ${fs} -name .install -or -name ..install.cmd)
38 }
40 # Post install commands for Tazpkg.
41 post_install()
42 {
43 # Removed old linux-headers
44 rm -rf $1/var/lib/tazpkg/installed/linux-headers 2>/dev/null
45 }