wok view linux-libre-api-headers/receipt @ rev 16063

ARM: we need font for X and fix toutil-linux-uuid
author Christophe Lincoln <pankso@slitaz.org>
date Wed Mar 12 03:49:35 2014 +0100 (2014-03-12)
parents ad59999b3fce
children 1067bb7f1e24
line source
1 # SliTaz package receipt.
3 PACKAGE="linux-libre-api-headers"
4 VERSION="2.6.37-gnu"
5 CATEGORY="development"
6 SHORT_DESC="Kernel headers sanitized for use in userspace."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 LICENSE="GPL2"
9 PROVIDE="linux-api-headers"
10 SOURCE="linux-libre"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.fsfla.org/svnwiki/selibre/linux-libre/"
13 WGET_URL="http://www.fsfla.org/svnwiki/selibre/linux-libre/download/releases/$VERSION/$TARBALL"
15 # Rules to compile & install the temporary toolchain.
16 cook_tmp_toolchain()
17 {
18 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
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 $install/usr/include $fs/usr
39 rm -f $(find ${fs} -name .install -or -name ..install.cmd)
40 }
42 # Post install commands for Tazpkg.
43 post_install()
44 {
45 # Removed old linux-libre-headers
46 rm -rf $1/var/lib/tazpkg/installed/linux-libre-headers 2>/dev/null
47 }