aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChes Martin2010-07-02 06:11:09 +0700
committerAdam Vandenberg2010-07-02 19:26:43 -0700
commite7044f83b01c066d448103877cdf4133fc934aaa (patch)
tree7ec8c9a10a6c21adc0a5f156e026e0dfd51f63c5
parent6cbc5f1d26b97e4427b769207413d2930bf9c30d (diff)
downloadhomebrew-e7044f83b01c066d448103877cdf4133fc934aaa.tar.bz2
New formula: kumofs 0.4.8
Kumofs is a simple and fast distributed key-value store, with Tokyo Cabinet-backed storage and memcached protocol compatibility. Data is partitioned and replicated over multiple servers with automatic rebalancing. http://kumofs.sourceforge.net/ Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rw-r--r--Library/Formula/kumofs.rb19
-rw-r--r--Library/Formula/msgpack.rb2
2 files changed, 20 insertions, 1 deletions
diff --git a/Library/Formula/kumofs.rb b/Library/Formula/kumofs.rb
new file mode 100644
index 000000000..b9a759976
--- /dev/null
+++ b/Library/Formula/kumofs.rb
@@ -0,0 +1,19 @@
+require 'formula'
+
+class Kumofs <Formula
+ url 'http://github.com/downloads/etolabo/kumofs/kumofs-0.4.8.tar.gz'
+ head 'git://github.com/etolabo/kumofs.git'
+ homepage 'http://kumofs.sourceforge.net/'
+ md5 '8ce7bc91f86bb7e43b66cbf11af37a99'
+
+ 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=#{prefix}", "--with-tokyocabinet=#{prefix}"
+ system "make install"
+ end
+end
diff --git a/Library/Formula/msgpack.rb b/Library/Formula/msgpack.rb
index f7ece54ce..0cc05cf55 100644
--- a/Library/Formula/msgpack.rb
+++ b/Library/Formula/msgpack.rb
@@ -6,7 +6,7 @@ class Msgpack <Formula
md5 'ae55b5a48221fabc587a9ff2b0b6106e'
def install
- system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"
+ system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make install"
end
end