void-packages/srcpkgs/acpica-utils/template

27 lines
683 B
Bash
Raw Normal View History

# Template file for 'acpica-utils'
pkgname=acpica-utils
2015-02-08 09:53:30 +01:00
version=20150204
wrksrc=acpica-unix-${version}
2013-04-22 16:50:51 +02:00
revision=1
2014-01-22 09:45:40 +01:00
only_for_archs="i686 x86_64"
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@gmail.com>"
2013-04-22 16:50:51 +02:00
distfiles="http://acpica.org/sites/acpica/files/acpica-unix-${version}.tar.gz"
2015-02-08 09:53:30 +01:00
checksum=ee2be08d5b658203078aad41e62eb8467ded68da4e86adac99cdf2eccc0f883e
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
2013-04-22 16:50:51 +02:00
if [ "$XBPS_TARGET_ARCH" = "i686" ]; then
make BITS=32
2013-04-22 16:50:51 +02:00
else
make BITS=64
2013-04-22 16:50:51 +02:00
fi
}
do_install() {
2013-04-22 16:50:51 +02:00
make DESTDIR=${DESTDIR} install
}