require 'formula' class Groonga < Formula homepage 'http://groonga.org/' url 'http://packages.groonga.org/source/groonga/groonga-2.0.9.tar.gz' sha1 'd8b9964016beb7be3311567f8243ace7a53ea21b' depends_on 'pkg-config' => :build depends_on 'pcre' depends_on 'msgpack' def install system "./configure", "--prefix=#{prefix}", "--with-zlib" system "make install" end end