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

Normalize LICENSE according to wok/licenses package (bsd part)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 05 16:21:04 2013 +0200 (2013-06-05)
parents b586d42f05bb
children 051931e905b0
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 $_pkg/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 }