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 <max@methylblue.com>

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.
master
Paul J. Davis 2009-09-23 22:58:04 -04:00 committed by Max Howell
parent d770081479
commit 67a660976c
1 changed files with 13 additions and 0 deletions

13
Formula/tokyo-cabinet.rb Normal file
View File

@ -0,0 +1,13 @@
require 'brewkit'
class TokyoCabinet <Formula
@url='http://1978th.net/tokyocabinet/tokyocabinet-1.4.33.tar.gz'
@homepage='http://1978th.net/tokyocabinet'
@sha1='c3ded8ee0bde93f072b9436a6244dc7690abd5c6'
def install
system "./configure", "--prefix=#{prefix}", "--enable-fastest"
system "make"
system "make install"
end
end