31 lines
800 B
Bash
31 lines
800 B
Bash
# Template file for 'acpica-utils'
|
|
pkgname=acpica-utils
|
|
version=20200528
|
|
revision=1
|
|
archs="i686* x86_64* aarch64*"
|
|
wrksrc="acpica-unix-${version}"
|
|
hostmakedepends="flex"
|
|
short_desc="Intel ACPI CA Unix utilities"
|
|
maintainer="Anthony Iliopoulos <ailiop@altatus.com>"
|
|
license="GPL-2.0-only, BSD-3-Clause"
|
|
homepage="https://www.acpica.org/"
|
|
distfiles="https://acpica.org/sites/acpica/files/acpica-unix-${version}.tar.gz"
|
|
checksum=e69f81c6924c8d30f9b9005bb002307f07b5a1538e13c909bea2f8a44e0d8610
|
|
|
|
do_build() {
|
|
vsed -e 's/-Werror//g' \
|
|
-i generate/unix/Makefile.config
|
|
|
|
vsed -e 's/_CYGWIN/_LINUX/g' \
|
|
-i generate/unix/iasl/Makefile
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
i686*) make BITS=32;;
|
|
*) make BITS=64;;
|
|
esac
|
|
}
|
|
|
|
do_install() {
|
|
make DESTDIR=${DESTDIR} install
|
|
vlicense ${FILESDIR}/LICENSE
|
|
}
|