2010-02-25 07:18:32 +01:00
|
|
|
# Template file for 'acpica-utils'
|
|
|
|
pkgname=acpica-utils
|
|
|
|
version=20100121
|
|
|
|
wrksrc=acpica-unix-${version}
|
2013-03-31 09:25:15 +02:00
|
|
|
revision=2
|
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-12 08:55:23 +02:00
|
|
|
# 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"
|
2010-02-25 07:18:32 +01:00
|
|
|
checksum=97fdbf6768f26f15ebf6aa106461e10f8e84bfb2766c7f8fe313fcd08e381d2e
|
|
|
|
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:
|
|
|
|
|
|
|
|
* ASL Compiler/Disassembler
|
|
|
|
* ACPI Simulator (AcpiExec)
|
|
|
|
* ACPI Table Extractor"
|
|
|
|
|
2013-04-12 08:55:23 +02:00
|
|
|
do_build() {
|
|
|
|
cd ${wrksrc}/tools/acpiexec
|
|
|
|
make
|
|
|
|
cp -f acpiexec ${wrksrc}
|
|
|
|
make clean
|
2010-02-25 07:18:32 +01:00
|
|
|
|
|
|
|
cd ${wrksrc}
|
|
|
|
for _dir_ in compiler tools/acpisrc tools/acpixtract; do
|
2013-04-12 08:55:23 +02:00
|
|
|
make -C ${_dir_}
|
2010-02-25 07:18:32 +01:00
|
|
|
done
|
|
|
|
}
|
|
|
|
|
2013-04-12 08:55:23 +02:00
|
|
|
do_install() {
|
2010-02-25 07:18:32 +01:00
|
|
|
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
|
|
|
|
}
|
2013-04-12 08:55:23 +02:00
|
|
|
|
|
|
|
acpica-utils_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|