2010-02-25 06:18:32 +00:00
|
|
|
# Template file for 'acpica-utils'
|
|
|
|
pkgname=acpica-utils
|
2015-04-09 05:22:20 +00:00
|
|
|
version=20150408
|
2010-02-25 06:18:32 +00:00
|
|
|
wrksrc=acpica-unix-${version}
|
2013-04-22 14:50:51 +00:00
|
|
|
revision=1
|
2014-01-22 08:45:40 +00:00
|
|
|
only_for_archs="i686 x86_64"
|
2013-04-12 06:55:23 +00:00
|
|
|
hostmakedepends="flex"
|
2010-02-25 06:18:32 +00:00
|
|
|
short_desc="Intel ACPI CA Unix utilities"
|
2013-03-31 07:25:15 +00:00
|
|
|
homepage="https://www.acpica.org/"
|
|
|
|
license="GPL-2"
|
2015-04-10 07:16:30 +00:00
|
|
|
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-09 05:22:20 +00:00
|
|
|
checksum=486534df2e493d3e0fde215a405275db656619b65101c61723d90c202825e6ad
|
2010-02-25 06:18:32 +00:00
|
|
|
|
2013-04-12 06:55:23 +00:00
|
|
|
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
|
2010-02-25 06:18:32 +00:00
|
|
|
|
2013-04-22 14:50:51 +00:00
|
|
|
if [ "$XBPS_TARGET_ARCH" = "i686" ]; then
|
2013-08-12 13:55:02 +00:00
|
|
|
make BITS=32
|
2013-04-22 14:50:51 +00:00
|
|
|
else
|
2013-08-12 13:55:02 +00:00
|
|
|
make BITS=64
|
2013-04-22 14:50:51 +00:00
|
|
|
fi
|
2010-02-25 06:18:32 +00:00
|
|
|
}
|
2013-04-12 06:55:23 +00:00
|
|
|
do_install() {
|
2013-04-22 14:50:51 +00:00
|
|
|
make DESTDIR=${DESTDIR} install
|
2010-02-25 06:18:32 +00:00
|
|
|
}
|