aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMihai Anca2009-10-19 19:58:45 +0100
committerMax Howell2009-10-21 02:31:58 +0100
commit205fe54d8f9e039dff6a0091ee79f10899490e9d (patch)
treee16f5b5c16cac2454f6eb20f27ba5b407a260fd6 /Library
parent65f2cf19984f037baa3bc4674e763c9f29c30eb8 (diff)
downloadhomebrew-205fe54d8f9e039dff6a0091ee79f10899490e9d.tar.bz2
Tokyo Tyrant formula
A network interface for concurrent and remote connections to Tokyo Cabinet.
Diffstat (limited to 'Library')
-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