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

Add busybox-httpd-ctrl (fast to: start and stop in menu)
author Leonardo Laporte <hackdorte@sapo.pt>
date Wed Jul 13 11:40:02 2016 -0300 (2016-07-13)
parents 1067bb7f1e24
children 9e8d7fd12ee2
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 [ ! -d "$1/var/lib/tazpkg/installed/linux-libre-headers" ] ||
47 rm -rf "$1/var/lib/tazpkg/installed/linux-libre-headers"
48 }