wok-6.x annotate iasl/receipt @ rev 24510

updated efibootmgr (16 -> 17)
author Hans-G?nter Theisgen
date Mon Feb 21 06:58:51 2022 +0100 (2022-02-21)
parents eccead0c1b9b
children 1bb618a02809
rev   line source
slaxemulator@6985 1 # SliTaz package receipt.
slaxemulator@6985 2
slaxemulator@6985 3 PACKAGE="iasl"
Hans-G?nter@22939 4 VERSION="20200214"
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
gokhlayeh@8003 32 make || return 1
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 }