homebrew-core/Formula/kyoto-tycoon.rb
swdyh 832d01005a kyoto-tycoon 0.9.12
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-12-02 20:40:49 -08:00

23 lines
571 B
Ruby

require 'formula'
class KyotoTycoon <Formula
url 'http://fallabs.com/kyototycoon/pkg/kyototycoon-0.9.12.tar.gz'
homepage 'http://fallabs.com/kyototycoon/'
md5 '8a92ed5a1dcd6e3f0217d0a4901b6c5d'
depends_on 'lua' unless ARGV.include? "--no-lua"
depends_on 'kyoto-cabinet'
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"
end
end