wok view iasl/receipt @ rev 25801
created recipe for xfce4-calculator-plugin
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 02 14:21:07 2024 +0100 (2 weeks ago) |
parents | 1bb618a02809 |
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://github.com/acpica/acpica/tags 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/[A-Za-z_-]*||;s|".*||;s|_|.|g;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 }