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

updated libgdiplus and libgdiplus-dev (6.0.4 -> 6.0.5)
author Hans-G?nter Theisgen
date Mon Mar 21 14:27:40 2022 +0100 (2022-03-21)
parents 9e8d7fd12ee2
children bd7510903310
line source
1 # SliTaz package receipt.
3 PACKAGE="linux-libre-api-headers"
4 VERSION="3.18.129-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 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - http://linux-libre.fsfla.org/pub/linux-libre/releases/ 2> /dev/null | \
19 sed '/-gnu/!d;s|.*ref="||;s|/".*||' | sed '$!d'
20 }
22 # Rules to compile & install the temporary toolchain.
23 cook_tmp_toolchain()
24 {
25 cd $src
26 make mrproper &&
27 make headers_check &&
28 make INSTALL_HDR_PATH=dest headers_install &&
29 cp -r dest/include/* /tools/include
30 }
32 # Rules to configure and make the package.
33 compile_rules()
34 {
35 cd $src
36 make mrproper &&
37 make headers_check &&
38 make INSTALL_HDR_PATH=$DESTDIR/usr headers_install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr
45 cp -a $install/usr/include $fs/usr
46 rm -f $(find ${fs} -name .install -or -name ..install.cmd)
47 }
49 # Post install commands for Tazpkg.
50 post_install()
51 {
52 # Removed old linux-libre-headers
53 [ ! -d "$1/var/lib/tazpkg/installed/linux-libre-headers" ] ||
54 rm -rf "$1/var/lib/tazpkg/installed/linux-libre-headers"
55 }