26 lines
752 B
Bash
26 lines
752 B
Bash
# Template file for 'acpica-utils'
|
|
pkgname=acpica-utils
|
|
version=20170531
|
|
revision=1
|
|
wrksrc="acpica-unix-${version}"
|
|
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
|
|
hostmakedepends="flex"
|
|
short_desc="Intel ACPI CA Unix utilities"
|
|
homepage="https://www.acpica.org/"
|
|
license="GPL-2, 3-clause-BSD"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
distfiles="https://acpica.org/sites/acpica/files/acpica-unix-${version}.tar.gz"
|
|
checksum=50155778cd1633dfca3443b8f8fd1ccc30e70e55ddece4d3c4fceafbbf1ab0e8
|
|
|
|
do_build() {
|
|
sed -e 's/_CYGWIN/_LINUX/g' -e 's/-Werror//g' -i generate/unix/Makefile.config generate/unix/iasl/Makefile
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
i686*) make BITS=32;;
|
|
*) make BITS=64;;
|
|
esac
|
|
}
|
|
do_install() {
|
|
make DESTDIR=${DESTDIR} install
|
|
}
|