wok view iasl/receipt @ rev 12989
Up: db (5.3.21) and cross-compile for ARM
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Jun 04 00:47:21 2012 +0200 (2012-06-04) |
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 }