summaryrefslogtreecommitdiff
path: root/social/tokyocabinet/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-12-18 21:17:06 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-12-18 21:17:06 -0300
commit02ffd41dca71e92f0105e37751e37c7332a9d447 (patch)
tree149d2e97e51dbab3f8f4dd6e4286dd5c42ba033d /social/tokyocabinet/PKGBUILD
parentcc66c2ff866631ece4d699b041f83444988e8ad2 (diff)
parentd8fd24a96ae712b2de3e9b05d937b135f41d016d (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community-staging/kadu/PKGBUILD extra/libgsf/PKGBUILD libre/linux-libre/PKGBUILD staging/kdelibs/PKGBUILD testing/glibc/PKGBUILD
Diffstat (limited to 'social/tokyocabinet/PKGBUILD')
-rw-r--r--social/tokyocabinet/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/social/tokyocabinet/PKGBUILD b/social/tokyocabinet/PKGBUILD
new file mode 100644
index 000000000..6e9b7969d
--- /dev/null
+++ b/social/tokyocabinet/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Mark Foxwell <fastfret79@archlinux.org.uk>
+# Contributor: Nicolas Martyanoff <khaelin@gmail.com>
+
+pkgname=tokyocabinet
+pkgver=1.4.47
+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=('3d94fe2aebf5d9ff0478ed895bc46fc9')
+
+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: