From a410436d32ff8891eca5fba302df80eddde1be39 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Mon, 3 Dec 2012 04:49:22 -0200 Subject: putting tokyocabinet in [libre] repo --- libre/tokyocabinet/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100755 libre/tokyocabinet/PKGBUILD (limited to 'libre/tokyocabinet/PKGBUILD') diff --git a/libre/tokyocabinet/PKGBUILD b/libre/tokyocabinet/PKGBUILD new file mode 100755 index 000000000..7eb52ed6e --- /dev/null +++ b/libre/tokyocabinet/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Mark Foxwell +# Contributor: Nicolas Martyanoff + +pkgname=tokyocabinet +pkgver=1.4.48 +pkgrel=2 +pkgdesc="a modern implementation of DBM" +arch=('i686' 'x86_64') +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=('fd03df6965f8f56dd5b8518ca43b4f5e') + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr --enable-off64 --enable-fastest + make +} + +# uncomment check routine if needed (can take ~5mins to run check) +check() { + cd "$srcdir/$pkgname-$pkgver" + make -k check +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install +} + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3-54-g00ecf From 7da2c7104bf0b90ad700b6fe3e99284802106cbe Mon Sep 17 00:00:00 2001 From: Michał Masłowski Date: Mon, 3 Dec 2012 18:21:30 +0100 Subject: Fix tokyocabinet mips64el build, not released due to a bus error. --- libre/tokyocabinet/PKGBUILD | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'libre/tokyocabinet/PKGBUILD') diff --git a/libre/tokyocabinet/PKGBUILD b/libre/tokyocabinet/PKGBUILD index 7eb52ed6e..1add6c535 100755 --- a/libre/tokyocabinet/PKGBUILD +++ b/libre/tokyocabinet/PKGBUILD @@ -5,7 +5,7 @@ pkgname=tokyocabinet pkgver=1.4.48 pkgrel=2 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') @@ -15,7 +15,10 @@ md5sums=('fd03df6965f8f56dd5b8518ca43b4f5e') build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr --enable-off64 --enable-fastest + + [ "$CARCH" != "mips64el" ] && extra=--enable-fastest + + ./configure --prefix=/usr --enable-off64 $extra make } -- cgit v1.2.3-54-g00ecf