wok-next view linux-libre-api-headers/receipt @ rev 20845

Add neofetch, tcl2c-fork; build two versions of tklauncher (using tcl2c and tcl2c-fork) with different warnings
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jun 23 09:45:42 2018 +0300 (2018-06-23)
parents 9e01bc6321ea
children d5aab818505e
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 BUILD_DEPENDS="perl"
17 # Rules to compile & install the temporary toolchain.
18 cook_tmp_toolchain()
19 {
20 cd $src
21 make mrproper &&
22 make headers_check &&
23 make INSTALL_HDR_PATH=dest headers_install &&
24 cp -r dest/include/* /tools/include
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 cd $src
31 make mrproper &&
32 make headers_check &&
33 make INSTALL_HDR_PATH=$DESTDIR/usr headers_install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr
40 cp -a $install/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 [ ! -d "$1/var/lib/tazpkg/installed/linux-libre-headers" ] ||
49 rm -rf "$1/var/lib/tazpkg/installed/linux-libre-headers"
50 }