summaryrefslogtreecommitdiff
path: root/community/iasl/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/iasl/PKGBUILD
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/iasl/PKGBUILD')
-rw-r--r--community/iasl/PKGBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/community/iasl/PKGBUILD b/community/iasl/PKGBUILD
new file mode 100644
index 000000000..8a1c56714
--- /dev/null
+++ b/community/iasl/PKGBUILD
@@ -0,0 +1,42 @@
+# $Id: PKGBUILD 91015 2013-05-17 22:04:55Z lcarlier $
+# Maintainer : Laurent Carlier <lordheavym@gmail.com>
+# Contributor: Giovanni Scafora <giovanni@archlinux.org>
+# Contributor: Alessio 'mOlOk' Bolognino <themolok@gmail.com>
+
+pkgname=iasl
+pkgver=20130517
+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/sites/acpica/files/acpica-unix-${pkgver}.tar.gz
+ LICENSE)
+md5sums=('99fa19c67c8fa95f90cb7ec0f29d6242'
+ '8615526144f69ea4e870d9bc37df9b29')
+
+build() {
+ cd "${srcdir}/acpica-unix-${pkgver}"/generate/unix
+
+ sed -i -e 's/_CYGWIN/_LINUX/g' -e 's/-Werror//g' Makefile.config
+
+ if [[ $CARCH == i686 ]]; then
+ make BITS=32
+ else
+ make BITS=64
+ fi
+}
+
+package() {
+ cd "${srcdir}/acpica-unix-${pkgver}"/generate/unix
+
+ make DESTDIR=${pkgdir} install
+
+ install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+md5sums=('7846a62551352d7dae6f93f8255e9d99'
+ '8615526144f69ea4e870d9bc37df9b29')