2010-07-01 23:11:09 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Kumofs < Formula
|
2010-07-01 23:11:09 +00:00
|
|
|
homepage 'http://kumofs.sourceforge.net/'
|
2013-01-29 05:32:29 +00:00
|
|
|
url 'https://github.com/downloads/etolabo/kumofs/kumofs-0.4.12.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'a1e895e42c8d5d75233f2234cf55069e76b4d39b'
|
2010-07-01 23:11:09 +00:00
|
|
|
|
2013-01-29 05:32:29 +00:00
|
|
|
head 'https://github.com/etolabo/kumofs.git'
|
|
|
|
|
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
|