homebrew-core/Formula/kyoto-tycoon.rb
Keisuke Kawahara 30f380ccc3 kyoto-tycoon 0.9.45
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-21 15:49:36 -07:00

23 lines
581 B
Ruby

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