This repository has been archived by the owner. It is now read-only.
Browse files

Tokyo Cabinet formula

Tokyo Cabinet: a modern implementation of DBM. Written by Mikio
Hirabayashi who is also the author of HyperEstraier and QDBM. Supports
hash table, B+tree, or fixed-length array databases of key/value pairs.

Signed-off-by: Max Howell <>

I changed the filename as policy is to hyphen separate if the actual name is
space separated. I plan to add functionality so if the user types a common
alias, it is recognised, as I understand that using hyphens in this case would
be unusual.

Also removed the md5 as only one of sha1 and md5 is checked. And correct me if
I'm wrong but two hashes seems unnecessary.
  • Loading branch information...
davisp authored and mxcl committed Sep 24, 2009
1 parent 2401a8c commit f2b74fd7e859391638368507d2a0ecabadf30614
Showing with 13 additions and 0 deletions.
  1. +13 −0 Library/Formula/tokyo-cabinet.rb
@@ -0,0 +1,13 @@
+require 'brewkit'
+class TokyoCabinet <Formula
+ @url=''
+ @homepage=''
+ @sha1='c3ded8ee0bde93f072b9436a6244dc7690abd5c6'
+ def install
+ system "./configure", "--prefix=#{prefix}", "--enable-fastest"
+ system "make"
+ system "make install"
+ end

0 comments on commit f2b74fd

Please sign in to comment.