wok-current view iasl/receipt @ rev 23913

Add linux-mmc
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 16 17:17:01 2020 +0000 (2020-08-16)
parents 7f35f94ea79f
children af8d823a3077
line source
1 # SliTaz package receipt.
3 PACKAGE="iasl"
4 VERSION="20200214"
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # Fix building.
21 sed -i -e 's/-Werror//g' \
22 generate/unix/Makefile.config \
23 generate/unix/iasl/Makefile
25 make || return 1
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin
33 cp -a $src/generate/unix/bin/iasl $fs/usr/bin
34 cp -a $src/generate/unix/bin/acpisrc $fs/usr/bin
35 cp -a $src/generate/unix/bin/acpixtract $fs/usr/bin
36 }