aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/tokyo-tyrant.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2010-08-07 17:22:30 -0700
committerAdam Vandenberg2010-08-07 17:22:30 -0700
commitb8da860ec98845493287e26bd69f293145e2ca4c (patch)
tree327eea9ea04c834b92801f35a5bebcfe76d3c02c /Library/Formula/tokyo-tyrant.rb
parent820db10c0aba03618b5469740b3a494825c38d4f (diff)
downloadhomebrew-b8da860ec98845493287e26bd69f293145e2ca4c.tar.bz2
Update urls/versions for tokyo/kyoto formulae.
Diffstat (limited to 'Library/Formula/tokyo-tyrant.rb')
-rw-r--r--Library/Formula/tokyo-tyrant.rb12
1 files changed, 8 insertions, 4 deletions
diff --git a/Library/Formula/tokyo-tyrant.rb b/Library/Formula/tokyo-tyrant.rb
index 925a78c66..2ee8f9f28 100644
--- a/Library/Formula/tokyo-tyrant.rb
+++ b/Library/Formula/tokyo-tyrant.rb
@@ -1,17 +1,21 @@
require 'formula'
class TokyoTyrant <Formula
- url 'http://1978th.net/tokyotyrant/tokyotyrant-1.1.40.tar.gz'
- homepage 'http://1978th.net/tokyotyrant/'
- md5 'cc9b7f0c6764d37700ab43d29a5c6048'
+ url 'http://fallabs.com/tokyotyrant/tokyotyrant-1.1.41.tar.gz'
+ homepage 'http://fallabs.com/tokyotyrant/'
+ md5 'a47e58897bd1cbbac173d5a66cc32ae3'
depends_on 'tokyo-cabinet'
depends_on 'lua' unless ARGV.include? "--no-lua"
+ def options
+ [["--no-lua", "Disable Lua support (and don't force Lua install.)"]]
+ end
+
def install
args = ["--prefix=#{prefix}"]
args << "--enable-lua" unless ARGV.include? "--no-lua"
-
+
system "./configure", *args
system "make"
system "make install"