aboutsummaryrefslogtreecommitdiffstats
path: root/main/wavpack
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-12-26 06:42:23 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-12-26 06:42:23 +0000
commit2dd523d6c18ffc6db86c29ebd7bea7b13ee4b74b (patch)
tree16949ba099a4e2f61480e241c9842f3434240c84 /main/wavpack
parentb80e8e31bd956b3a8de4d75f4fa3d1442a52aafa (diff)
downloadaports-2dd523d6c18ffc6db86c29ebd7bea7b13ee4b74b.tar.bz2
aports-2dd523d6c18ffc6db86c29ebd7bea7b13ee4b74b.tar.xz
main/wavpack: fix arm build
Diffstat (limited to 'main/wavpack')
-rw-r--r--main/wavpack/APKBUILD10
1 files changed, 8 insertions, 2 deletions
diff --git a/main/wavpack/APKBUILD b/main/wavpack/APKBUILD
index 25a907e92a..284b790b4e 100644
--- a/main/wavpack/APKBUILD
+++ b/main/wavpack/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=wavpack
pkgver=4.70.0
-pkgrel=1
+pkgrel=2
pkgdesc="Audio compression format with lossless, lossy, and hybrid compression modes"
url="http://www.wavpack.com/"
arch="all"
@@ -31,6 +31,12 @@ prepare() {
build() {
cd "$_builddir"
+
+ local _arch_opts=
+ case "$CARCH" in
+ x86 | x86_64) _arch_opts="--enable-mmx" ;;
+ esac
+
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -38,8 +44,8 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --enable-mmx \
--disable-static \
+ $_arch_opts \
|| return 1
make || return 1
}