mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
75
sys-power/iasl/iasl-20171215.recipe
Normal file
75
sys-power/iasl/iasl-20171215.recipe
Normal file
@@ -0,0 +1,75 @@
|
||||
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="1"
|
||||
SOURCE_URI="https://acpica.org/sites/acpica/files/acpica-unix-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="1287c3d75c7956680dbb7e90151caef0255797eb29e18dd55588d713ada97d14"
|
||||
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
|
||||
"
|
||||
|
||||
defineDebugInfoPackage iasl$secondaryArchSuffix \
|
||||
$binDir/acpibin \
|
||||
$binDir/acpidump \
|
||||
$binDir/acpiexamples \
|
||||
$binDir/acpiexec \
|
||||
$binDir/acpihelp \
|
||||
$binDir/acpinames \
|
||||
$binDir/acpisrc \
|
||||
$binDir/acpixtract \
|
||||
$binDir/iasl
|
||||
|
||||
PATCH()
|
||||
{
|
||||
sed -i 's/-lrt//g' generate/unix/acpiexec/Makefile
|
||||
}
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make PREFIX=$prefix $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make PREFIX=$prefix install
|
||||
}
|
||||
Reference in New Issue
Block a user