wok-4.x annotate iasl/receipt @ rev 11561
Add picoblog form wok-undigest
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 25 15:19:17 2011 +0100 (2011-12-25) |
parents | a296570a1223 |
children |
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 { |
gokhlayeh@11397 | 17 # Fix building. |
gokhlayeh@11397 | 18 sed -i -e 's/-Werror//g' compiler/Makefile tools/acpisrc/Makefile |
gokhlayeh@11397 | 19 |
slaxemulator@6985 | 20 cd $src/compiler |
gokhlayeh@8003 | 21 make -j1 || return 1 |
slaxemulator@6985 | 22 cd $src/tools/acpisrc |
gokhlayeh@8003 | 23 make || return 1 |
slaxemulator@6985 | 24 cd $src/tools/acpixtract |
gokhlayeh@8003 | 25 make || return 1 |
slaxemulator@6985 | 26 } |
slaxemulator@6985 | 27 |
slaxemulator@6985 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6985 | 29 genpkg_rules() |
slaxemulator@6985 | 30 { |
slaxemulator@6985 | 31 mkdir -p $fs/usr/bin |
slaxemulator@6985 | 32 cp -a $src/compiler/iasl $fs/usr/bin |
slaxemulator@6985 | 33 cp -a $src/tools/acpisrc/acpisrc $fs/usr/bin |
slaxemulator@6985 | 34 cp -a $src/tools/acpixtract/acpixtract $fs/usr/bin |
slaxemulator@6985 | 35 } |
slaxemulator@6985 | 36 |