2010-02-25 07:18:32 +01:00
|
|
|
# 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"
|
2013-04-12 08:55:23 +02:00
|
|
|
hostmakedepends="flex"
|
2010-02-25 07:18:32 +01:00
|
|
|
short_desc="Intel ACPI CA Unix utilities"
|
2013-03-31 09:25:15 +02:00
|
|
|
homepage="https://www.acpica.org/"
|
|
|
|
license="GPL-2"
|
2015-04-10 09:16:30 +02:00
|
|
|
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
|
2010-02-25 07:18:32 +01:00
|
|
|
|
2013-04-12 08:55:23 +02:00
|
|
|
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
|
2010-02-25 07:18:32 +01:00
|
|
|
|
2015-06-19 07:34:58 +02:00
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
|
|
i686*) make BITS=32;;
|
|
|
|
*) make BITS=64;;
|
|
|
|
esac
|
2010-02-25 07:18:32 +01:00
|
|
|
}
|
2013-04-12 08:55:23 +02:00
|
|
|
do_install() {
|
2013-04-22 16:50:51 +02:00
|
|
|
make DESTDIR=${DESTDIR} install
|
2010-02-25 07:18:32 +01:00
|
|
|
}
|