summaryrefslogtreecommitdiff
path: root/community/iasl/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/iasl/PKGBUILD')
-rw-r--r--community/iasl/PKGBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/community/iasl/PKGBUILD b/community/iasl/PKGBUILD
new file mode 100644
index 000000000..624b9c3ec
--- /dev/null
+++ b/community/iasl/PKGBUILD
@@ -0,0 +1,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"
+}