acpica-utils: update to 20150619.

This commit is contained in:
Juan RP 2015-06-19 07:34:58 +02:00
parent ee3eeac133
commit 70419d26da
1 changed files with 7 additions and 8 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'acpica-utils'
pkgname=acpica-utils
version=20150515
wrksrc=acpica-unix-${version}
version=20150619
wrksrc=acpica-unix-${version/9/8}
revision=1
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
hostmakedepends="flex"
@ -10,16 +10,15 @@ homepage="https://www.acpica.org/"
license="GPL-2"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
distfiles="http://acpica.org/sites/acpica/files/acpica-unix-${version}.tar.gz"
checksum=bfa1f296a3cc13421331dbaad3b62e0184678cc312104c3e8ac799ead0742c45
checksum=080e85c4216d40f2fbfc9fcd940e6004e96795142eac13145ca37d1be217efbf
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
case "$XBPS_TARGET_MACHINE" in
i686*) make BITS=32;;
*) make BITS=64;;
esac
}
do_install() {
make DESTDIR=${DESTDIR} install