aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/tokyo-tyrant.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/tokyo-tyrant.rb b/Library/Formula/tokyo-tyrant.rb
new file mode 100644
index 000000000..c7aad6909
--- /dev/null
+++ b/Library/Formula/tokyo-tyrant.rb
@@ -0,0 +1,16 @@
+require 'formula'
+
+class TokyoTyrant <Formula
+ url 'http://1978th.net/tokyotyrant/tokyotyrant-1.1.36.tar.gz'
+ homepage 'http://1978th.net/tokyotyrant/'
+ sha1 '116c413affdc649602439adc815c9dcb133cc502'
+
+ depends_on 'tokyo-cabinet'
+ depends_on 'lua'
+
+ def install
+ system "./configure", "--prefix=#{prefix}", "--with-lua", "--enable-lua"
+ system "make"
+ system "make install"
+ end
+end