2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-24 02:58:04 +00:00
|
|
|
|
|
|
|
class TokyoCabinet <Formula
|
2010-02-21 21:07:53 +00:00
|
|
|
url 'http://1978th.net/tokyocabinet/tokyocabinet-1.4.42.tar.gz'
|
2009-10-19 18:54:43 +00:00
|
|
|
homepage 'http://1978th.net/tokyocabinet'
|
2010-02-21 21:07:53 +00:00
|
|
|
sha1 'e46da0ef614f821b57564639cf15388df1c39fb5'
|
2009-09-24 02:58:04 +00:00
|
|
|
|
|
|
|
def install
|
2009-10-19 18:54:43 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}", "--enable-fastest",
|
|
|
|
"--libdir=#{lib}", "--includedir=#{include}"
|
2009-09-24 02:58:04 +00:00
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|