blob: 925a78c6608c4017e0d7ba887ca9b2864ed06571 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
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
|