wok view iasl/receipt @ rev 24901
updated memcached and memcached-dev (1.6.6 -> 1.6.15)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 09 10:32:08 2022 +0100 (2022-04-09) |
parents | af8d823a3077 |
children | d79ed38ace18 |
line source
1 # SliTaz package receipt.
3 PACKAGE="iasl"
4 VERSION="20211217"
5 CATEGORY="development"
6 SHORT_DESC="Intel ACPI Source Language compiler."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="other"
9 WEB_SITE="https://acpica.org"
11 SOURCE="acpica-unix"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/sites/acpica/files/$TARBALL"
15 BUILD_DEPENDS="bison flex"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://acpica.org/downloads 2>/dev/null | \
21 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 # Fix building.
28 sed -i -e 's/-Werror//g' \
29 generate/unix/Makefile.config \
30 generate/unix/iasl/Makefile
32 make
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/bin
40 cp -a $src/generate/unix/bin/iasl $fs/usr/bin
41 cp -a $src/generate/unix/bin/acpisrc $fs/usr/bin
42 cp -a $src/generate/unix/bin/acpixtract $fs/usr/bin
43 }