25 lines
758 B
Bash
25 lines
758 B
Bash
# Template file for 'acpica-utils'
|
|
pkgname=acpica-utils
|
|
version=20240827
|
|
revision=1
|
|
build_style="gnu-makefile"
|
|
make_use_env=yes
|
|
make_build_args="NOWERROR=TRUE BITS=${XBPS_TARGET_WORDSIZE}"
|
|
hostmakedepends="flex"
|
|
short_desc="Intel ACPI CA Unix utilities"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-only, BSD-3-Clause"
|
|
homepage="https://www.acpica.org/"
|
|
distfiles="https://github.com/user-attachments/files/16769900/acpica-unix-${version}.tar.gz"
|
|
checksum=373d4f08da7f1e838191311cb0fc2615ca9c76f47b1e103631e20292a38b4836
|
|
|
|
post_extract() {
|
|
mv source/include/ACPIXF.H source/include/acpixf.h
|
|
}
|
|
|
|
post_install() {
|
|
sed -n '/Copyright Notice/,/\*\/$/p' source/include/accommon.h | \
|
|
sed 's/^ \* \?//' | head -n-2 > LICENSE
|
|
vlicense LICENSE
|
|
}
|