2010-02-25 07:18:32 +01:00
|
|
|
# Template file for 'acpica-utils'
|
|
|
|
pkgname=acpica-utils
|
2013-08-09 23:00:20 +02:00
|
|
|
version=20130725
|
2010-02-25 07:18:32 +01:00
|
|
|
wrksrc=acpica-unix-${version}
|
2013-04-22 16:50:51 +02:00
|
|
|
revision=1
|
2013-04-12 08:55:23 +02:00
|
|
|
hostmakedepends="flex"
|
2010-02-25 07:18:32 +01:00
|
|
|
short_desc="Intel ACPI CA Unix utilities"
|
2013-03-31 09:25:15 +02:00
|
|
|
homepage="https://www.acpica.org/"
|
|
|
|
license="GPL-2"
|
2010-02-25 07:18:32 +01:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-04-22 16:50:51 +02:00
|
|
|
distfiles="http://acpica.org/sites/acpica/files/acpica-unix-${version}.tar.gz"
|
2013-08-09 23:00:20 +02:00
|
|
|
checksum=ce2651e1b3a74d5eada4baea2cec9646ff9a20204bb703ce014a3433b99f0ea2
|
2010-02-25 07:18:32 +01:00
|
|
|
long_desc="
|
2013-04-22 16:50:51 +02:00
|
|
|
This package contains only the user-space tools needed for ACPI table
|
|
|
|
development, not the kernel implementation of ACPI. The following commands
|
|
|
|
are installed:
|
2010-02-25 07:18:32 +01:00
|
|
|
|
2013-04-22 16:50:51 +02:00
|
|
|
* iasl: compiles ASL (ACPI Source Language) into AML (ACPI Machine
|
|
|
|
Language), suitable for inclusion as a DSDT in system firmware.
|
|
|
|
It also can disassemble AML, for debugging purposes.
|
|
|
|
* acpibin: performs basic operations on binary AML files (e.g.,
|
|
|
|
comparison, data extraction)
|
|
|
|
* acpiexec: simulate AML execution in order to debug method definitions
|
|
|
|
* acpihelp: display help messages describing ASL keywords and op-codes
|
|
|
|
* acpinames: display complete ACPI name space from input AML
|
|
|
|
* acpisrc: manipulate the ACPICA source tree and format source files
|
|
|
|
for specific environments
|
|
|
|
* acpixtract: extract binary ACPI tables from acpidump output (see
|
|
|
|
also the pmtools package)"
|
2010-02-25 07:18:32 +01:00
|
|
|
|
2013-04-12 08:55:23 +02:00
|
|
|
do_build() {
|
2013-04-22 16:50:51 +02:00
|
|
|
sed -e 's/_CYGWIN/_LINUX/g' -e 's/-Werror//g' -i generate/unix/Makefile.config
|
2010-02-25 07:18:32 +01:00
|
|
|
|
2013-04-22 16:50:51 +02:00
|
|
|
if [ "$XBPS_TARGET_ARCH" = "i686" ]; then
|
2013-08-12 15:55:02 +02:00
|
|
|
make BITS=32
|
2013-04-22 16:50:51 +02:00
|
|
|
else
|
2013-08-12 15:55:02 +02:00
|
|
|
make BITS=64
|
2013-04-22 16:50:51 +02:00
|
|
|
fi
|
2010-02-25 07:18:32 +01:00
|
|
|
}
|
|
|
|
|
2013-04-12 08:55:23 +02:00
|
|
|
do_install() {
|
2013-04-22 16:50:51 +02:00
|
|
|
make DESTDIR=${DESTDIR} install
|
2010-02-25 07:18:32 +01:00
|
|
|
}
|