27 lines
683 B
Bash
27 lines
683 B
Bash
# Template file for 'acpica-utils'
|
|
pkgname=acpica-utils
|
|
version=20150204
|
|
wrksrc=acpica-unix-${version}
|
|
revision=1
|
|
only_for_archs="i686 x86_64"
|
|
hostmakedepends="flex"
|
|
short_desc="Intel ACPI CA Unix utilities"
|
|
homepage="https://www.acpica.org/"
|
|
license="GPL-2"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
distfiles="http://acpica.org/sites/acpica/files/acpica-unix-${version}.tar.gz"
|
|
checksum=ee2be08d5b658203078aad41e62eb8467ded68da4e86adac99cdf2eccc0f883e
|
|
|
|
do_build() {
|
|
sed -e 's/_CYGWIN/_LINUX/g' -e 's/-Werror//g' -i generate/unix/Makefile.config
|
|
|
|
if [ "$XBPS_TARGET_ARCH" = "i686" ]; then
|
|
make BITS=32
|
|
else
|
|
make BITS=64
|
|
fi
|
|
}
|
|
do_install() {
|
|
make DESTDIR=${DESTDIR} install
|
|
}
|