summaryrefslogtreecommitdiff
path: root/extra/soundtouch/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/soundtouch/PKGBUILD')
-rw-r--r--extra/soundtouch/PKGBUILD12
1 files changed, 9 insertions, 3 deletions
diff --git a/extra/soundtouch/PKGBUILD b/extra/soundtouch/PKGBUILD
index 40b2c87a4..3036fbba6 100644
--- a/extra/soundtouch/PKGBUILD
+++ b/extra/soundtouch/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=soundtouch
pkgver=1.7.1
pkgrel=1
pkgdesc="An audio processing library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.surina.net/soundtouch/"
license=('LGPL')
depends=('gcc-libs')
@@ -15,10 +15,16 @@ sha1sums=('8b1a461754853f9c7328571449b7f9b8bd578a89')
build() {
cd "${srcdir}/${pkgname}"
- [ "${CARCH}" = "x86_64" ] && CONFIGFLAG="--with-pic"
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADER/' configure.ac
./bootstrap
- ./configure --prefix=/usr --enable-shared ${CONFIGFLAG}
+ case $CARCH in
+ i686)
+ ./configure --prefix=/usr --enable-shared
+ ;;
+ *)
+ ./configure --prefix=/usr --enable-shared --with-pic
+ ;;
+ esac
make
}