2010-07-01 23:11:09 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Kumofs <Formula
|
2010-11-10 18:16:28 +00:00
|
|
|
url 'https://github.com/downloads/etolabo/kumofs/kumofs-0.4.12.tar.gz'
|
2010-07-01 23:11:09 +00:00
|
|
|
head 'git://github.com/etolabo/kumofs.git'
|
|
|
|
homepage 'http://kumofs.sourceforge.net/'
|
2010-09-12 08:46:39 +00:00
|
|
|
md5 '70fc53a332fb2b76ae6a3aad7aa59aad'
|
2010-07-01 23:11:09 +00:00
|
|
|
|
|
|
|
depends_on 'tokyo-cabinet'
|
|
|
|
# msgpack rubygem and the C++ lib are needed
|
|
|
|
depends_on 'msgpack'
|
|
|
|
depends_on 'msgpack' => :ruby
|
|
|
|
|
|
|
|
def install
|
2010-04-07 05:58:35 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--with-msgpack=#{prefix}",
|
|
|
|
"--with-tokyocabinet=#{prefix}"
|
2010-07-01 23:11:09 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|