homebrew-core/Formula/kyoto-tycoon.rb
Keisuke Kawahara 9847cf7975 kyoto-tycoon 0.9.55
Closes Homebrew/homebrew#12255.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-15 14:12:03 -05:00

23 lines
581 B
Ruby

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