void-packages/srcpkgs/acpica-utils/template

26 lines
711 B
Bash
Raw Normal View History

# Template file for 'acpica-utils'
pkgname=acpica-utils
2015-06-19 07:34:58 +02:00
version=20150619
wrksrc=acpica-unix-${version/9/8}
2013-04-22 16:50:51 +02:00
revision=1
2015-04-11 08:06:57 +02:00
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
hostmakedepends="flex"
short_desc="Intel ACPI CA Unix utilities"
2013-03-31 09:25:15 +02:00
homepage="https://www.acpica.org/"
license="GPL-2"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2013-04-22 16:50:51 +02:00
distfiles="http://acpica.org/sites/acpica/files/acpica-unix-${version}.tar.gz"
2015-06-19 07:34:58 +02:00
checksum=080e85c4216d40f2fbfc9fcd940e6004e96795142eac13145ca37d1be217efbf
do_build() {
2013-04-22 16:50:51 +02:00
sed -e 's/_CYGWIN/_LINUX/g' -e 's/-Werror//g' -i generate/unix/Makefile.config
2015-06-19 07:34:58 +02:00
case "$XBPS_TARGET_MACHINE" in
i686*) make BITS=32;;
*) make BITS=64;;
esac
}
do_install() {
2013-04-22 16:50:51 +02:00
make DESTDIR=${DESTDIR} install
}