aboutsummaryrefslogtreecommitdiffstats
path: root/main/iasl/APKBUILD
blob: dfd455dc0788204bf4c66d126f57b90ddbcb4e73 (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
# Contributor: Roger Pau Monne <roger.pau@entel.upc.edu>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=iasl
pkgver=20111123
pkgrel=0
pkgdesc="ACPI ASL compiler"
url="http://www.acpica.org/"
arch="x86 x86_64"
license="custom"
depends=""
depends_dev="flex bison"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
# license was found here:
# http://acpica.org/downloads/unix_source_code.php
source="http://www.acpica.org/download/acpica-unix-$pkgver.tar.gz
	COPYING"

_builddir="$srcdir"/acpica-unix-$pkgver

build() {
	cd "$_builddir"/compiler
	# parallel build fix
	make aslcompilerlex.c aslcompilerparse.c dtparserlex.c dtparserparse.c\
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	install -Dm755 compiler/$pkgname "$pkgdir"/usr/bin/$pkgname
	install -Dm644 "$srcdir"/COPYING "$pkgdir"/usr/share/licenses/acpica/COPYING
}

md5sums="433470ddbdf8eab5e9c22e8f0e8836ff  acpica-unix-20111123.tar.gz
7af813a48b9d1ce988aa72655f0fa61f  COPYING"