core/iasl/PKGBUILD
2011-06-13 22:21:32 +00:00

45 lines
1.1 KiB
Bash

#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=iasl
pkgver=20110527
pkgrel=1
pkgdesc="Intel ACPI Source Language compiler"
arch=('i686' 'x86_64')
url="http://acpica.org"
license=('custom')
depends=('glibc')
makedepends=('flex' 'bison')
options=('!makeflags')
install=iasl.install
source=(http://acpica.org/download/acpica-unix-${pkgver}.tar.gz LICENSE iaslcompileparse.patch)
md5sums=('82c507fec0dba78dc8562a019aaf6e23'
'8615526144f69ea4e870d9bc37df9b29'
'e2aa959b3da50ebd2146de9b47d9ecd6')
build() {
cd "${srcdir}/acpica-unix-${pkgver}/compiler"
patch -Np1 -i ${srcdir}/iaslcompileparse.patch
make
install -D -m755 iasl "${pkgdir}/usr/bin/iasl"
cd ../tools/acpisrc
make
install -m755 acpisrc "${pkgdir}/usr/bin"
#cd ../acpiexec
#make
#install -m755 acpiexec "${pkgdir}/usr/bin"
cd ../acpixtract
make
install -m755 acpixtract "${pkgdir}/usr/bin"
install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}