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 0db15eecf..f2c082d5c 100644
--- a/extra/lensfun/PKGBUILD
+++ b/extra/lensfun/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=lensfun
pkgver=0.2.8
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')
@@ -15,6 +15,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
# fix configure script for make 4.0
patch -Np0 -i "${srcdir}/lensfun-0.2.8-make-4.0.patch"
@@ -24,7 +29,7 @@ build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure \
--prefix=/usr \
- --libdir=/usr/lib
+ --libdir=/usr/lib ${confflags}
make all
}