void-packages/srcpkgs/acpica-utils/template

27 lines
708 B
Bash
Raw Normal View History

# Template file for 'acpica-utils'
pkgname=acpica-utils
2015-04-11 06:06:57 +00:00
version=20150410
wrksrc=acpica-unix-${version}
2013-04-22 14:50:51 +00:00
revision=1
2015-04-11 06:06:57 +00:00
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
hostmakedepends="flex"
short_desc="Intel ACPI CA Unix utilities"
2013-03-31 07:25:15 +00:00
homepage="https://www.acpica.org/"
license="GPL-2"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2013-04-22 14:50:51 +00:00
distfiles="http://acpica.org/sites/acpica/files/acpica-unix-${version}.tar.gz"
2015-04-11 06:06:57 +00:00
checksum=1dce8d9edeb234fd553806987471f6206f429c2aab45556f62a5b2bfe2464875
do_build() {
2013-04-22 14:50:51 +00:00
sed -e 's/_CYGWIN/_LINUX/g' -e 's/-Werror//g' -i generate/unix/Makefile.config
2013-04-22 14:50:51 +00:00
if [ "$XBPS_TARGET_ARCH" = "i686" ]; then
make BITS=32
2013-04-22 14:50:51 +00:00
else
make BITS=64
2013-04-22 14:50:51 +00:00
fi
}
do_install() {
2013-04-22 14:50:51 +00:00
make DESTDIR=${DESTDIR} install
}