summaryrefslogtreecommitdiff
path: root/extra/lensfun/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/lensfun/PKGBUILD')
-rw-r--r--extra/lensfun/PKGBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/extra/lensfun/PKGBUILD b/extra/lensfun/PKGBUILD
index a3a2cedd0..39c211128 100644
--- a/extra/lensfun/PKGBUILD
+++ b/extra/lensfun/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=lensfun
pkgver=0.2.7
pkgrel=1
pkgdesc="Database of photographic lenses and a library that allows advanced access to the database"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://lensfun.berlios.de/"
license=('LGPL3')
depends=('glibc' 'glib2')
@@ -14,6 +14,11 @@ source=("http://download.berlios.de/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ if [ "$CARCH" = "mips64el" ]; then
+ confflags="--vectorization="
+ else
+ confflags=""
+ fi
sed -i 's|#!/usr/bin/python|#!/usr/bin/python2|' configure
}
@@ -21,7 +26,7 @@ build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure \
--prefix=/usr \
- --libdir=/usr/lib
+ --libdir=/usr/lib ${confflags}
make all
}