wok-next view iasl/receipt @ rev 19022

Up slitaz-boot-scripts (427), tazpkg (904), tazwok (557)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 01 11:32:41 2016 +0200 (2016-04-01)
parents 08db442f295b
children e1c0edabdcb2
line source
1 # SliTaz package receipt.
3 PACKAGE="iasl"
4 VERSION="20100915"
5 CATEGORY="development"
6 SHORT_DESC="Intel ACPI Source Language compiler"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="other"
9 SOURCE="acpica-unix"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://acpica.org"
12 WGET_URL="$WEB_SITE/download/$TARBALL"
14 BUILD_DEPENDS="flex bison"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 # Fix building.
20 sed -i -e 's/-Werror//g' compiler/Makefile tools/acpisrc/Makefile
22 cd $src/compiler
23 make -j1 || return 1
24 cd $src/tools/acpisrc
25 make || return 1
26 cd $src/tools/acpixtract
27 make || return 1
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin
34 cp -a $src/compiler/iasl $fs/usr/bin
35 cp -a $src/tools/acpisrc/acpisrc $fs/usr/bin
36 cp -a $src/tools/acpixtract/acpixtract $fs/usr/bin
37 }