homebrew-core/Formula/vte3.rb
cosmo0920 e283af4c44 vte3 0.32.2
Closes Homebrew/homebrew#28524.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-04-26 20:34:41 -07:00

35 lines
957 B
Ruby

require "formula"
class Vte3 < Formula
homepage "http://developer.gnome.org/vte/"
url "http://ftp.gnome.org/pub/gnome/sources/vte/0.32/vte-0.32.2.tar.xz"
sha1 "a58569a99ac06a240bdda3ec7353f2626145852d"
depends_on "pkg-config" => :build
depends_on "intltool" => :build
depends_on "gettext"
depends_on "glib"
depends_on "gtk+3"
depends_on "pygtk"
depends_on :python => :recommended
depends_on "gobject-introspection"
def install
args = [
"--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-Bsymbolic",
"--enable-introspection=yes",
]
if build.with? "python"
# pygtk-codegen-2.0 has been deprecated and replaced by
# pygobject-codegen-2.0, but the vte Makefile does not detect this.
ENV["PYGTK_CODEGEN"] = Formula["pygobject"].bin/"pygobject-codegen-2.0"
args << "--enable-python"
end
system "./configure", *args
system "make install"
end
end