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