wok-4.x view iasl/receipt @ rev 10481

tazwikiss: use $_pkg in genpkg_rules, not $DESTDIR
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 25 12:20:28 2011 +0200 (2011-05-25)
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 }