mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
65 lines
1.6 KiB
Bash
65 lines
1.6 KiB
Bash
SUMMARY="An implementation of the ACPI specification"
|
|
DESCRIPTION="The ACPI Component Architecture (ACPICA) project provides an \
|
|
operating system (OS)-independent reference implementation of the Advanced \
|
|
Configuration and Power Interface Specification (ACPI)."
|
|
HOMEPAGE="https://acpica.org/"
|
|
COPYRIGHT="2000-2017 Intel Corp."
|
|
LICENSE="
|
|
Intel (ACPICA)
|
|
GNU GPL v2
|
|
BSD (2-clause)"
|
|
REVISION="2"
|
|
SOURCE_URI="https://acpica.org/sites/acpica/files/acpica-unix-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="c093c9eabd1f8c51d79364d829975c5335c8028c4816a7a80dfb8590f31889b5"
|
|
SOURCE_DIR="acpica-unix-$portVersion"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
# On x86_gcc2 we don't want to install the commands in bin/<arch>/, but in bin/.
|
|
commandSuffix=$secondaryArchSuffix
|
|
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
|
commandSuffix=
|
|
fi
|
|
|
|
PROVIDES="
|
|
iasl$secondaryArchSuffix = $portVersion
|
|
cmd:acpibin$commandSuffix = $portVersion
|
|
cmd:acpidump$commandSuffix = $portVersion
|
|
cmd:acpiexamples$commandSuffix = $portVersion
|
|
cmd:acpiexec$commandSuffix = $portVersion
|
|
cmd:acpihelp$commandSuffix = $portVersion
|
|
cmd:acpinames$commandSuffix = $portVersion
|
|
cmd:acpisrc$commandSuffix = $portVersion
|
|
cmd:acpixtract$commandSuffix = $portVersion
|
|
cmd:iasl$commandSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:bison
|
|
cmd:flex
|
|
cmd:make
|
|
cmd:gcc$secondaryArchSuffix
|
|
"
|
|
|
|
PATCH()
|
|
{
|
|
sed -i 's/-lrt//g' generate/unix/acpiexec/Makefile
|
|
}
|
|
|
|
BUILD()
|
|
{
|
|
make PREFIX=$prefix $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make PREFIX=$prefix install
|
|
}
|