# SliTaz package receipt. PACKAGE="iasl" VERSION="20100915" CATEGORY="development" SHORT_DESC="Intel ACPI Source Language compiler" MAINTAINER="slaxemulator@gmail.com" BUILD_DEPENDS="flex bison" SOURCE="acpica-unix" TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="http://acpica.org" WGET_URL="$WEB_SITE/download/$TARBALL" # Rules to configure and make the package. compile_rules() { # Fix building. sed -i -e 's/-Werror//g' compiler/Makefile tools/acpisrc/Makefile cd $src/compiler make -j1 || return 1 cd $src/tools/acpisrc make || return 1 cd $src/tools/acpixtract make || return 1 } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin cp -a $src/compiler/iasl $fs/usr/bin cp -a $src/tools/acpisrc/acpisrc $fs/usr/bin cp -a $src/tools/acpixtract/acpixtract $fs/usr/bin }