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