aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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