void-packages/srcpkgs/acpica-utils/template

50 lines
1.6 KiB
Text
Raw Normal View History

# Template file for 'acpica-utils'
pkgname=acpica-utils
2013-04-22 14:50:51 +00:00
version=20130418
wrksrc=acpica-unix-${version}
2013-04-22 14:50:51 +00:00
revision=1
hostmakedepends="flex"
short_desc="Intel ACPI CA Unix utilities"
2013-03-31 07:25:15 +00:00
homepage="https://www.acpica.org/"
license="GPL-2"
maintainer="Juan RP <xtraeme@gmail.com>"
2013-04-22 14:50:51 +00:00
distfiles="http://acpica.org/sites/acpica/files/acpica-unix-${version}.tar.gz"
checksum=11e49847c627af6c44c75af035efe7087d99859060297f2e499edbdd5dce9a58
long_desc="
2013-04-22 14:50:51 +00: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:
2013-04-22 14:50:51 +00: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)"
do_build() {
2013-04-22 14:50:51 +00:00
sed -e 's/_CYGWIN/_LINUX/g' -e 's/-Werror//g' -i generate/unix/Makefile.config
2013-04-22 14:50:51 +00:00
if [ "$XBPS_TARGET_ARCH" = "i686" ]; then
make ${makejobs} BITS=32
else
make ${makejobs} BITS=64
fi
}
do_install() {
2013-04-22 14:50:51 +00:00
make DESTDIR=${DESTDIR} install
}
acpica-utils_package() {
pkg_install() {
2013-04-22 14:50:51 +00:00
vmove all
}
}