forked from necromant2005/homebrew-boneyard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkumofs.rb
21 lines (18 loc) · 804 Bytes
/
kumofs.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
class Kumofs < Formula
desc "Scalable, highly available distributed key-value store"
homepage "http://kumofs.sourceforge.net/"
url "https://github.com/downloads/etolabo/kumofs/kumofs-0.4.12.tar.gz"
sha256 "afbe4625a1df13ca9353bb6f2e4739de080de0c36cb1945f1e3869eba6e322bd"
head "https://github.com/etolabo/kumofs.git"
depends_on "tokyo-cabinet"
# msgpack rubygem and the C++ lib are needed
depends_on "msgpack"
depends_on "msgpack" => :ruby
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--with-msgpack=#{Formula["msgpack"].opt_prefix}",
"--with-tokyocabinet=#{Formula["tokyo-cabinet"].opt_prefix}"
system "make", "install"
end
end