wok-4.x view iasl/receipt @ rev 10303
pkg-config: use TOOLPREFIX like binutils to make cross compilation happy
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 22 02:12:16 2011 +0200 (2011-05-22) |
parents | fa443372e01a |
children | 08db442f295b |
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 cd $src/compiler
18 make -j1 || return 1
19 cd $src/tools/acpisrc
20 make || return 1
21 cd $src/tools/acpixtract
22 make || return 1
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin
29 cp -a $src/compiler/iasl $fs/usr/bin
30 cp -a $src/tools/acpisrc/acpisrc $fs/usr/bin
31 cp -a $src/tools/acpixtract/acpixtract $fs/usr/bin
32 }