void-packages/srcpkgs/acpica-utils/template

21 lines
675 B
Bash

# Template file for 'acpica-utils'
pkgname=acpica-utils
version=20230628
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://downloadmirror.intel.com/783534/acpica-unix-${version}.tar.gz"
checksum=86876a745e3d224dcfd222ed3de465b47559e85811df2db9820ef09a9dff5cce
post_install() {
sed -n '/Copyright Notice/,/\*\/$/p' source/include/accommon.h | \
sed 's/^ \* \?//' | head -n-2 > LICENSE
vlicense LICENSE
}