homebrew-core/Formula/tokyo-tyrant.rb
Adam Vandenberg 9b64a23659 Tokyo Tyrant
* update to 1.1.40
* made Lua optional via switch
2010-02-21 13:51:31 -08:00

19 lines
475 B
Ruby

require 'formula'
class TokyoTyrant <Formula
url 'http://1978th.net/tokyotyrant/tokyotyrant-1.1.40.tar.gz'
homepage 'http://1978th.net/tokyotyrant/'
md5 'cc9b7f0c6764d37700ab43d29a5c6048'
depends_on 'tokyo-cabinet'
depends_on 'lua' unless ARGV.include? "--no-lua"
def install
args = ["--prefix=#{prefix}"]
args << "--enable-lua" unless ARGV.include? "--no-lua"
system "./configure", *args
system "make"
system "make install"
end
end