wok-next diff iasl/receipt @ rev 20646

grub2-efi: ls module embedded
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 02 11:12:13 2018 +0200 (2018-05-02)
parents de49f29b101e
children a3c581bf52b8
line diff
     1.1 --- a/iasl/receipt	Thu Dec 05 15:25:09 2013 +0000
     1.2 +++ b/iasl/receipt	Wed May 02 11:12:13 2018 +0200
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="iasl"
     1.8  VERSION="20100915"
     1.9 @@ -6,16 +6,14 @@
    1.10  SHORT_DESC="Intel ACPI Source Language compiler"
    1.11  MAINTAINER="slaxemulator@gmail.com"
    1.12  LICENSE="other"
    1.13 -SOURCE="acpica-unix"
    1.14 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.15  WEB_SITE="http://acpica.org"
    1.16 +
    1.17 +TARBALL="acpica-unix-$VERSION.tar.gz"
    1.18  WGET_URL="$WEB_SITE/download/$TARBALL"
    1.19  
    1.20  BUILD_DEPENDS="flex bison"
    1.21  
    1.22 -# Rules to configure and make the package.
    1.23 -compile_rules()
    1.24 -{
    1.25 +compile_rules() {
    1.26  	# Fix building.
    1.27  	sed -i -e 's/-Werror//g' compiler/Makefile tools/acpisrc/Makefile
    1.28  
    1.29 @@ -25,14 +23,12 @@
    1.30  	make || return 1
    1.31  	cd $src/tools/acpixtract
    1.32  	make || return 1
    1.33 +
    1.34 +	install -Dm755 $src/compiler/iasl               $install/usr/bin/iasl
    1.35 +	install -Dm755 $src/tools/acpisrc/acpisrc       $install/usr/bin/acpisrc
    1.36 +	install -Dm755 $src/tools/acpixtract/acpixtract $install/usr/bin/acpixtract
    1.37  }
    1.38  
    1.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.40 -genpkg_rules()
    1.41 -{
    1.42 -	mkdir -p $fs/usr/bin
    1.43 -	cp -a $src/compiler/iasl $fs/usr/bin
    1.44 -	cp -a $src/tools/acpisrc/acpisrc $fs/usr/bin
    1.45 -	cp -a $src/tools/acpixtract/acpixtract $fs/usr/bin
    1.46 +genpkg_rules() {
    1.47 +	copy @std
    1.48  }
    1.49 -