wok-6.x view linux-libre-api-headers/receipt @ rev 11203

Add from wok-undigest: xorg-bdftopcf xorg-fonttosfnt xorg-mkfontdir xorg-mkfontscale xorg-xedit xorg-xeyes xorg-xf86-video-radeonhd
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 03 10:39:15 2011 +0100 (2011-11-03)
parents abe27fd0192d
children 903c03d31ebf
line source
1 # SliTaz package receipt.
3 PACKAGE="linux-libre-api-headers"
4 VERSION="2.6.37-libre"
5 CATEGORY="development"
6 SHORT_DESC="Kernel headers sanitized for use in userspace."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 PROVIDE="linux-api-headers"
9 SOURCE="linux"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.fsfla.org/svnwiki/selibre/linux-libre/"
12 WGET_URL="http://www.fsfla.org/svnwiki/selibre/linux-libre/download/releases/$VERSION/$TARBALL"
14 # Rules to compile & install the temporary toolchain.
15 cook_tmp_toolchain()
16 {
17 cd $src
19 make mrproper &&
20 make headers_check &&
21 make INSTALL_HDR_PATH=dest headers_install &&
22 cp -r dest/include/* /tools/include
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cd $src
30 make mrproper &&
31 make headers_check &&
32 make INSTALL_HDR_PATH=$DESTDIR/usr headers_install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $_pkg/usr/include $fs/usr
41 rm -f $(find ${fs} -name .install -or -name ..install.cmd)
42 }
44 # Post install commands for Tazpkg.
45 post_install()
46 {
47 # Removed old linux-libre-headers
48 rm -rf $1/var/lib/tazpkg/installed/linux-libre-headers 2>/dev/null
49 }