diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-12-31 17:29:39 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-12-31 17:29:39 -0300 |
commit | 6f102d1647580e0bb9513c124b26a64c77da4f15 (patch) | |
tree | 0340f1f588be251183fe2b251bdba778f2c85c22 /libre/tokyocabinet/PKGBUILD | |
parent | 433900b14f11dc9ee55b72e8e5946bf47f65b636 (diff) | |
parent | b6cb10de275cea63bab0bee2a98342afa4fdc4ee (diff) | |
download | abslibre-6f102d1647580e0bb9513c124b26a64c77da4f15.tar.gz abslibre-6f102d1647580e0bb9513c124b26a64c77da4f15.tar.bz2 abslibre-6f102d1647580e0bb9513c124b26a64c77da4f15.zip |
Merge branch 'master' of ssh://gparabola/srv/git/abslibre
Diffstat (limited to 'libre/tokyocabinet/PKGBUILD')
-rw-r--r-- | libre/tokyocabinet/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/libre/tokyocabinet/PKGBUILD b/libre/tokyocabinet/PKGBUILD new file mode 100644 index 000000000..1add6c535 --- /dev/null +++ b/libre/tokyocabinet/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Mark Foxwell <fastfret79@archlinux.org.uk> +# Contributor: Nicolas Martyanoff <khaelin@gmail.com> + +pkgname=tokyocabinet +pkgver=1.4.48 +pkgrel=2 +pkgdesc="a modern implementation of DBM" +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=('fd03df6965f8f56dd5b8518ca43b4f5e') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + [ "$CARCH" != "mips64el" ] && extra=--enable-fastest + + ./configure --prefix=/usr --enable-off64 $extra + 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: |