blob: 6f2ef773ea630c23553566b9c1b916e932560f52 (
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 57915 2011-11-04 12:13:21Z lcarlier $
# Maintainer : Laurent Carlier <lordheavym@gmail.com>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Alessio 'mOlOk' Bolognino <themolok@gmail.com>
pkgname=iasl
pkgver=20110922
pkgrel=2
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=('b95af67bb277657ae01844db01f2f9c7'
'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"
}
|