wok-next view iasl/receipt @ rev 11398
Compat: squirrelmail trigger cook of squirrelmail-* only when using cookutils - I don't think this piece of code is needed at all as squirrel-* will be cooked anyway if one update them
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Dec 10 13:19:00 2011 +0100 (2011-12-10) |
parents | a296570a1223 |
children | de49f29b101e |
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 BUILD_DEPENDS="flex bison"
9 SOURCE="acpica-unix"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://acpica.org"
12 WGET_URL="$WEB_SITE/download/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 # Fix building.
18 sed -i -e 's/-Werror//g' compiler/Makefile tools/acpisrc/Makefile
20 cd $src/compiler
21 make -j1 || return 1
22 cd $src/tools/acpisrc
23 make || return 1
24 cd $src/tools/acpixtract
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
32 cp -a $src/compiler/iasl $fs/usr/bin
33 cp -a $src/tools/acpisrc/acpisrc $fs/usr/bin
34 cp -a $src/tools/acpixtract/acpixtract $fs/usr/bin
35 }