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