wok-current view iasl/receipt @ rev 25048
glusterfs: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 04 14:47:50 2022 +0000 (2022-06-04) |
parents | af8d823a3077 |
children |
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 }