homebrew-core/Formula/tokyo-cabinet.rb
Paul J. Davis 67a660976c 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.
2009-09-28 00:20:51 +01:00

13 lines
346 B
Ruby

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