summaryrefslogtreecommitdiff
path: root/social/tokyocabinet/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'social/tokyocabinet/PKGBUILD')
-rw-r--r--social/tokyocabinet/PKGBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/social/tokyocabinet/PKGBUILD b/social/tokyocabinet/PKGBUILD
index 6e9b7969d..783aa254c 100644
--- a/social/tokyocabinet/PKGBUILD
+++ b/social/tokyocabinet/PKGBUILD
@@ -2,20 +2,22 @@
# Contributor: Nicolas Martyanoff <khaelin@gmail.com>
pkgname=tokyocabinet
-pkgver=1.4.47
+pkgver=1.4.48
pkgrel=1
pkgdesc="a modern implementation of DBM"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://fallabs.com/tokyocabinet/"
license=('LGPL')
makedepends=('gcc>=3.1' 'make' 'pkgconfig')
depends=('zlib' 'bzip2')
source=("http://fallabs.com/tokyocabinet/${pkgname}-${pkgver}.tar.gz")
-md5sums=('3d94fe2aebf5d9ff0478ed895bc46fc9')
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr --enable-off64 --enable-fastest
+
+ [ "$CARCH" != "mips64el" ] && extra=--enable-fastest
+
+ ./configure --prefix=/usr --enable-off64 $extra
make
}
@@ -31,3 +33,4 @@ package() {
}
# vim:set ts=2 sw=2 et:
+md5sums=('fd03df6965f8f56dd5b8518ca43b4f5e')