wok-current annotate iasl/receipt @ rev 17611

Up: irssi 0.8.17
author Alexander Medvedev <devl547@gmail.com>
date Thu Feb 12 19:00:53 2015 +0000 (2015-02-12)
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