require 'formula' class Groonga < Formula homepage 'http://groonga.org/' url 'http://packages.groonga.org/source/groonga/groonga-3.0.0.tar.gz' sha1 'facdc65f5830ce973e926b477fef66509b38ff75' depends_on 'pkg-config' => :build depends_on 'pcre' depends_on 'msgpack' def install # ZeroMQ is an optional dependency that will be auto-detected unless we disable it system "./configure", "--prefix=#{prefix}", "--with-zlib", "--disable-zeromq" system "make install" end end