blob: 5e8d89a494c508b69cbcca4380a3e8dad1bb691b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# $Id: PKGBUILD 59496 2011-11-26 21:04:57Z lcarlier $
# Maintainer : Laurent Carlier <lordheavym@gmail.com>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Alessio 'mOlOk' Bolognino <themolok@gmail.com>
pkgname=iasl
pkgver=20111123
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)
md5sums=('433470ddbdf8eab5e9c22e8f0e8836ff'
'8615526144f69ea4e870d9bc37df9b29')
build() {
cd "${srcdir}/acpica-unix-${pkgver}"
# fix building with gcc-4.6
sed -i -e 's/-Werror//g' compiler/Makefile tools/acpisrc/Makefile
cd compiler
make
cd ../tools/acpisrc
make
#cd ../acpiexec
#make
#install -m755 acpiexec "${pkgdir}/usr/bin"
cd ../acpixtract
make
}
package() {
cd "${srcdir}/acpica-unix-${pkgver}"
install -D -m755 compiler/iasl "${pkgdir}/usr/bin/iasl"
install -m755 tools/acpisrc/acpisrc "${pkgdir}/usr/bin"
install -m755 tools/acpixtract/acpixtract "${pkgdir}/usr/bin"
install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|