wok-6.x annotate iasl/receipt @ rev 20831
Add cbatticon
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 19 18:31:58 2019 +0100 (2019-02-19) |
parents | de49f29b101e |
children | 7f35f94ea79f |
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" |
pascal@20671 | 11 WEB_SITE="https://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 |