require 'formula' class Gtksourceview3 < Formula homepage 'http://projects.gnome.org/gtksourceview/' url 'http://ftp.gnome.org/pub/gnome/sources/gtksourceview/3.12/gtksourceview-3.12.0.tar.xz' sha1 'e2c65ba0c49624a22045ac7ada78136e4107e889' depends_on :x11 depends_on 'pkg-config' => :build depends_on 'intltool' => :build depends_on 'gettext' depends_on 'gtk+3' def install system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make install" end end