void-packages/srcpkgs/acpica-utils/template
2013-07-11 11:16:28 +02:00

49 lines
1.6 KiB
Text

# Template file for 'acpica-utils'
pkgname=acpica-utils
version=20130626
wrksrc=acpica-unix-${version}
revision=1
hostmakedepends="flex"
short_desc="Intel ACPI CA Unix utilities"
homepage="https://www.acpica.org/"
license="GPL-2"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://acpica.org/sites/acpica/files/acpica-unix-${version}.tar.gz"
checksum=18afb45e7c4d1698dd18b70ae8ec13ef2b818f53454d34ee95444025c70d0ed6
long_desc="
This package contains only the user-space tools needed for ACPI table
development, not the kernel implementation of ACPI. The following commands
are installed:
* 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)"
do_build() {
sed -e 's/_CYGWIN/_LINUX/g' -e 's/-Werror//g' -i generate/unix/Makefile.config
if [ "$XBPS_TARGET_ARCH" = "i686" ]; then
make ${makejobs} BITS=32
else
make ${makejobs} BITS=64
fi
}
do_install() {
make DESTDIR=${DESTDIR} install
}
acpica-utils_package() {
pkg_install() {
vmove all
}
}