wok-next annotate iasl/receipt @ rev 9968

consonance: fix bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 18 17:41:50 2011 +0200 (2011-05-18)
parents fa443372e01a
children 08db442f295b
rev   line source
slaxemulator@6985 1 # SliTaz package receipt.
slaxemulator@6985 2
slaxemulator@6985 3 PACKAGE="iasl"
slaxemulator@6985 4 VERSION="20100915"
slaxemulator@6985 5 CATEGORY="development"
slaxemulator@6985 6 SHORT_DESC="Intel ACPI Source Language compiler"
slaxemulator@6985 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@6985 8 BUILD_DEPENDS="flex bison"
slaxemulator@6985 9 SOURCE="acpica-unix"
slaxemulator@6985 10 TARBALL="$SOURCE-$VERSION.tar.gz"
slaxemulator@6985 11 WEB_SITE="http://acpica.org"
slaxemulator@6985 12 WGET_URL="$WEB_SITE/download/$TARBALL"
slaxemulator@6985 13
slaxemulator@6985 14 # Rules to configure and make the package.
slaxemulator@6985 15 compile_rules()
slaxemulator@6985 16 {
slaxemulator@6985 17 cd $src/compiler
gokhlayeh@8003 18 make -j1 || return 1
slaxemulator@6985 19 cd $src/tools/acpisrc
gokhlayeh@8003 20 make || return 1
slaxemulator@6985 21 cd $src/tools/acpixtract
gokhlayeh@8003 22 make || return 1
slaxemulator@6985 23 }
slaxemulator@6985 24
slaxemulator@6985 25 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6985 26 genpkg_rules()
slaxemulator@6985 27 {
slaxemulator@6985 28 mkdir -p $fs/usr/bin
slaxemulator@6985 29 cp -a $src/compiler/iasl $fs/usr/bin
slaxemulator@6985 30 cp -a $src/tools/acpisrc/acpisrc $fs/usr/bin
slaxemulator@6985 31 cp -a $src/tools/acpixtract/acpixtract $fs/usr/bin
slaxemulator@6985 32 }
slaxemulator@6985 33