require 'formula' class Sary < Formula homepage 'http://sary.sourceforge.net/' url 'http://sary.sourceforge.net/sary-1.2.0.tar.gz' sha1 'cfc671ca99d58df4ed8985408499f96579af18f3' depends_on 'pkg-config' => :build depends_on 'glib' def install system "./configure", "--prefix=#{prefix}", "--mandir=#{man}" system "make install" end end