summaryrefslogtreecommitdiff
path: root/libre/tokyocabinet
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-12-03 11:48:21 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-12-03 11:48:21 -0500
commit07f8d2352bfbd32bde544ab085766cdd5bcf855f (patch)
treea98132a63df93aeaf993a8c9656c5dc02d398f0a /libre/tokyocabinet
parent4d65af06586207541df01db4ab006c160149ae60 (diff)
downloadabslibre-07f8d2352bfbd32bde544ab085766cdd5bcf855f.tar.gz
abslibre-07f8d2352bfbd32bde544ab085766cdd5bcf855f.tar.bz2
abslibre-07f8d2352bfbd32bde544ab085766cdd5bcf855f.zip
mv social/tokyocabinet libre
Diffstat (limited to 'libre/tokyocabinet')
-rw-r--r--libre/tokyocabinet/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/libre/tokyocabinet/PKGBUILD b/libre/tokyocabinet/PKGBUILD
new file mode 100644
index 000000000..7b3a55c80
--- /dev/null
+++ b/libre/tokyocabinet/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Mark Foxwell <fastfret79@archlinux.org.uk>
+# Contributor: Nicolas Martyanoff <khaelin@gmail.com>
+
+pkgname=tokyocabinet
+pkgver=1.4.48
+pkgrel=1
+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: