acpica-utils: update to 20130418.
This commit is contained in:
parent
705edc41e6
commit
c9ef4e05bf
1 changed files with 27 additions and 26 deletions
|
@ -1,48 +1,49 @@
|
|||
# Template file for 'acpica-utils'
|
||||
pkgname=acpica-utils
|
||||
version=20100121
|
||||
version=20130418
|
||||
wrksrc=acpica-unix-${version}
|
||||
revision=2
|
||||
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>"
|
||||
# Sigh, can't use official URL!
|
||||
#distfiles="http://acpica.org/downloads/acpica-unix-${version}.tar.gz"
|
||||
distfiles="http://xbps.nopcode.org/distfiles/acpica-unix-${version}.tar.gz"
|
||||
checksum=97fdbf6768f26f15ebf6aa106461e10f8e84bfb2766c7f8fe313fcd08e381d2e
|
||||
distfiles="http://acpica.org/sites/acpica/files/acpica-unix-${version}.tar.gz"
|
||||
checksum=11e49847c627af6c44c75af035efe7087d99859060297f2e499edbdd5dce9a58
|
||||
long_desc="
|
||||
This package provides the ACPICA user-space utilities built upon
|
||||
the same kernel code. The ACPI Component Architecture is used for
|
||||
managing hardware and events. The following utilities are provided:
|
||||
This package contains only the user-space tools needed for ACPI table
|
||||
development, not the kernel implementation of ACPI. The following commands
|
||||
are installed:
|
||||
|
||||
* ASL Compiler/Disassembler
|
||||
* ACPI Simulator (AcpiExec)
|
||||
* ACPI Table Extractor"
|
||||
* 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() {
|
||||
cd ${wrksrc}/tools/acpiexec
|
||||
make
|
||||
cp -f acpiexec ${wrksrc}
|
||||
make clean
|
||||
sed -e 's/_CYGWIN/_LINUX/g' -e 's/-Werror//g' -i generate/unix/Makefile.config
|
||||
|
||||
cd ${wrksrc}
|
||||
for _dir_ in compiler tools/acpisrc tools/acpixtract; do
|
||||
make -C ${_dir_}
|
||||
done
|
||||
if [ "$XBPS_TARGET_ARCH" = "i686" ]; then
|
||||
make ${makejobs} BITS=32
|
||||
else
|
||||
make ${makejobs} BITS=64
|
||||
fi
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${DESTDIR}/usr/sbin
|
||||
install -m755 ${wrksrc}/acpiexec ${DESTDIR}/usr/sbin
|
||||
install -m755 ${wrksrc}/tools/acpisrc/acpisrc ${DESTDIR}/usr/sbin
|
||||
install -m755 ${wrksrc}/tools/acpixtract/acpixtract ${DESTDIR}/usr/sbin
|
||||
install -m755 ${wrksrc}/compiler/iasl ${DESTDIR}/usr/sbin
|
||||
make DESTDIR=${DESTDIR} install
|
||||
}
|
||||
|
||||
acpica-utils_package() {
|
||||
pkg_install() {
|
||||
vmove usr
|
||||
vmove all
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue