summaryrefslogtreecommitdiff
path: root/extra/libpano13/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libpano13/PKGBUILD')
-rw-r--r--extra/libpano13/PKGBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/extra/libpano13/PKGBUILD b/extra/libpano13/PKGBUILD
index 46f9e2d23..469d5e3bf 100644
--- a/extra/libpano13/PKGBUILD
+++ b/extra/libpano13/PKGBUILD
@@ -7,17 +7,18 @@ pkgver=2.9.18
pkgrel=3
pkgdesc='Basic library to calculate panoramical pictures - core functions of the panotools'
url='http://panotools.sourceforge.net/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
depends=('libpng' 'libtiff')
-makedepends=('jdk7-openjdk')
+[ "$CARCH" != "mips64el" ] && makedepends=('jdk7-openjdk')
source=("http://downloads.sourceforge.net/sourceforge/panotools/${pkgname}-${pkgver}.tar.gz")
sha1sums=('23849bdbdfc9176a2b53d157e58bd24aa0e7276e')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --mandir=/usr/share/man --with-java=${JAVA_HOME}
+ [ "$CARCH" != "mips64el" ] && extra=--with-java=${JAVA_HOME}
+ ./configure --prefix=/usr --mandir=/usr/share/man $extra
make
}