wok-current view iasl/receipt @ rev 18217

Add hfsutils
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 17 21:36:53 2015 +0200 (2015-07-17)
parents 08db442f295b
children 6e8b1bcb30e2
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 }