wok annotate iasl/receipt @ rev 23985
linld: up to 60k for header.com
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 28 09:45:01 2020 +0000 (2020-11-28) |
parents | 7f35f94ea79f |
children | af8d823a3077 |
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 |
slaxemulator@6985 | 17 # Rules to configure and make the package. |
slaxemulator@6985 | 18 compile_rules() |
slaxemulator@6985 | 19 { |
gokhlayeh@11397 | 20 # Fix building. |
Hans-G?nter@22939 | 21 sed -i -e 's/-Werror//g' \ |
Hans-G?nter@22939 | 22 generate/unix/Makefile.config \ |
Hans-G?nter@22939 | 23 generate/unix/iasl/Makefile |
gokhlayeh@11397 | 24 |
gokhlayeh@8003 | 25 make || return 1 |
slaxemulator@6985 | 26 } |
slaxemulator@6985 | 27 |
slaxemulator@6985 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6985 | 29 genpkg_rules() |
slaxemulator@6985 | 30 { |
slaxemulator@6985 | 31 mkdir -p $fs/usr/bin |
Hans-G?nter@21039 | 32 |
Hans-G?nter@21039 | 33 cp -a $src/generate/unix/bin/iasl $fs/usr/bin |
Hans-G?nter@21039 | 34 cp -a $src/generate/unix/bin/acpisrc $fs/usr/bin |
Hans-G?nter@21039 | 35 cp -a $src/generate/unix/bin/acpixtract $fs/usr/bin |
slaxemulator@6985 | 36 } |