summaryrefslogtreecommitdiff
path: root/community/iasl/PKGBUILD
blob: 624b9c3ecf626b8b4e65fbd622e06ca19f81bed0 (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
# $Id: PKGBUILD 44052 2011-04-01 20:24:21Z lcarlier $
# Maintainer : Laurent Carlier <lordheavym@gmail.com>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Alessio 'mOlOk' Bolognino <themolok@gmail.com>

pkgname=iasl
pkgver=20110316
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=('785813b0e4ad38383fb7bfb15e7a2e6e'
         '8615526144f69ea4e870d9bc37df9b29')

build() {
  cd "${srcdir}/acpica-unix-${pkgver}"

  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"
}