wok annotate iasl/receipt @ rev 16374

Up: slitaz-configs (5.4) Getting ready for 5.0-RC1
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 14 19:59:46 2014 +0200 (2014-04-14)
parents 08db442f295b
children 6e8b1bcb30e2
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"
pascal@15600 8 LICENSE="other"
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
pascal@15600 14 BUILD_DEPENDS="flex bison"
pascal@15600 15
slaxemulator@6985 16 # Rules to configure and make the package.
slaxemulator@6985 17 compile_rules()
slaxemulator@6985 18 {
gokhlayeh@11397 19 # Fix building.
gokhlayeh@11397 20 sed -i -e 's/-Werror//g' compiler/Makefile tools/acpisrc/Makefile
gokhlayeh@11397 21
slaxemulator@6985 22 cd $src/compiler
gokhlayeh@8003 23 make -j1 || return 1
slaxemulator@6985 24 cd $src/tools/acpisrc
gokhlayeh@8003 25 make || return 1
slaxemulator@6985 26 cd $src/tools/acpixtract
gokhlayeh@8003 27 make || return 1
slaxemulator@6985 28 }
slaxemulator@6985 29
slaxemulator@6985 30 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6985 31 genpkg_rules()
slaxemulator@6985 32 {
slaxemulator@6985 33 mkdir -p $fs/usr/bin
slaxemulator@6985 34 cp -a $src/compiler/iasl $fs/usr/bin
slaxemulator@6985 35 cp -a $src/tools/acpisrc/acpisrc $fs/usr/bin
slaxemulator@6985 36 cp -a $src/tools/acpixtract/acpixtract $fs/usr/bin
slaxemulator@6985 37 }
slaxemulator@6985 38