homebrew-core/Formula/kyoto-tycoon.rb
Keisuke Kawahara 2b6003d45b kyoto-tycoon 0.9.52
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-12-21 10:27:55 -08:00

23 lines
581 B
Ruby

require 'formula'
class KyotoTycoon < Formula
url 'http://fallabs.com/kyototycoon/pkg/kyototycoon-0.9.52.tar.gz'
homepage 'http://fallabs.com/kyototycoon/'
sha1 '448b96e9b0f262c26574ab655ea8ad84f64ffb48'
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