diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-08-17 12:42:22 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-08-17 12:51:37 +0000 |
commit | f33126dd50d200d4f451d0fe8e9d05d35da9398c (patch) | |
tree | 1d48b375f45f524e8d166719e75717e096b56b3b /main | |
parent | 064d46a722bed596f958565b1452ad3423831e14 (diff) | |
download | aports-f33126dd50d200d4f451d0fe8e9d05d35da9398c.tar.bz2 aports-f33126dd50d200d4f451d0fe8e9d05d35da9398c.tar.xz |
main/acpcia: rename from iasl and upgrade to 20120816
provide iasl as a subpackage
Diffstat (limited to 'main')
-rw-r--r-- | main/acpica/APKBUILD (renamed from main/iasl/APKBUILD) | 32 | ||||
-rw-r--r-- | main/acpica/COPYING (renamed from main/iasl/COPYING) | 0 |
2 files changed, 22 insertions, 10 deletions
diff --git a/main/iasl/APKBUILD b/main/acpica/APKBUILD index dfd455dc0..705c3f1c2 100644 --- a/main/iasl/APKBUILD +++ b/main/acpica/APKBUILD @@ -1,9 +1,9 @@ # Contributor: Roger Pau Monne <roger.pau@entel.upc.edu> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=iasl -pkgver=20111123 +pkgname=acpica +pkgver=20120816 pkgrel=0 -pkgdesc="ACPI ASL compiler" +pkgdesc="ACPI Component Architecture utilities" url="http://www.acpica.org/" arch="x86 x86_64" license="custom" @@ -11,7 +11,7 @@ depends="" depends_dev="flex bison" makedepends="$depends_dev" install="" -subpackages="$pkgname-doc" +subpackages="$pkgname-doc iasl" # license was found here: # http://acpica.org/downloads/unix_source_code.php source="http://www.acpica.org/download/acpica-unix-$pkgver.tar.gz @@ -20,18 +20,30 @@ source="http://www.acpica.org/download/acpica-unix-$pkgver.tar.gz _builddir="$srcdir"/acpica-unix-$pkgver build() { - cd "$_builddir"/compiler - # parallel build fix - make aslcompilerlex.c aslcompilerparse.c dtparserlex.c dtparserparse.c\ + cd "$_builddir" + + # support gcc-4.6 + sed -i -e 's/-Werror//g' \ + -e 's/remove-destination//' \ + generate/unix/Makefile \ + generate/unix/Makefile.config \ || return 1 - make || return 1 + + make BITSFLAG=-m32 || return 1 } package() { cd "$_builddir" - install -Dm755 compiler/$pkgname "$pkgdir"/usr/bin/$pkgname + make install DESTDIR="$pkgdir" install -Dm644 "$srcdir"/COPYING "$pkgdir"/usr/share/licenses/acpica/COPYING } -md5sums="433470ddbdf8eab5e9c22e8f0e8836ff acpica-unix-20111123.tar.gz +iasl() { + pkgdesc="ACPI ASL compiler" + mkdir -p "$subpkgdir"/usr/bin + mv "$pkgdir"/usr/bin/iasl "$subpkgdir"/usr/bin/ +} + + +md5sums="eae80f528320717357b3cb5368ba580b acpica-unix-20120816.tar.gz 7af813a48b9d1ce988aa72655f0fa61f COPYING" diff --git a/main/iasl/COPYING b/main/acpica/COPYING index 20ce2954a..20ce2954a 100644 --- a/main/iasl/COPYING +++ b/main/acpica/COPYING |