wok view iasl/receipt @ rev 21370

gnuradio, mtp-tools, potamus: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 21 20:00:24 2019 +0200 (2019-04-21)
parents 6e8b1bcb30e2
children eccead0c1b9b
line source
1 # SliTaz package receipt.
3 PACKAGE="iasl"
4 VERSION="20190215"
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="flex bison"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # Fix building.
21 sed -i -e 's/-Werror//g' generate/unix/Makefile.config \
22 generate/unix/iasl/Makefile
24 make || return 1
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin
32 cp -a $src/generate/unix/bin/iasl $fs/usr/bin
33 cp -a $src/generate/unix/bin/acpisrc $fs/usr/bin
34 cp -a $src/generate/unix/bin/acpixtract $fs/usr/bin
35 }