SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "iasl"

# SliTaz package receipt.

PACKAGE="iasl"
VERSION="20211217"
CATEGORY="development"
SHORT_DESC="Intel ACPI Source Language compiler."
MAINTAINER="slaxemulator@gmail.com"
LICENSE="other"
WEB_SITE="https://acpica.org"

SOURCE="acpica-unix"
TARBALL="$SOURCE-$VERSION.tar.gz"
WGET_URL="$WEB_SITE/sites/acpica/files/$TARBALL"

BUILD_DEPENDS="bison flex"

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/acpica/acpica/tags 2>/dev/null | \
    sed '/tag\//!d;s|.*tag/[A-Za-z_-]*||;s|".*||;s|_|.|g;q'
}

# Rules to configure and make the package.
compile_rules()
{
    # Fix building.
    sed -i -e 's/-Werror//g' \
        generate/unix/Makefile.config \
        generate/unix/iasl/Makefile

    make
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin

    cp -a $src/generate/unix/bin/iasl    $fs/usr/bin
    cp -a $src/generate/unix/bin/acpisrc    $fs/usr/bin
    cp -a $src/generate/unix/bin/acpixtract    $fs/usr/bin
}
5935 packages and 845883 files in cooking database (Sun Jun 30 00:45:24 2024)