homebrew-core/Formula/glade.rb

29 lines
833 B
Ruby
Raw Normal View History

require 'formula'
class Glade < Formula
homepage 'http://glade.gnome.org/'
url 'http://ftp.gnome.org/pub/GNOME/sources/glade3/3.8/glade3-3.8.3.tar.xz'
sha256 '84bb2d7f782f203e4aab923e47db8d22529229b13e59570945261611c63941d6'
depends_on :python
depends_on 'pkg-config' => :build
depends_on 'xz' => :build
2013-02-03 20:39:49 +00:00
depends_on 'intltool' => :build
depends_on 'gettext'
depends_on 'libglade'
depends_on 'libxml2' # make this dep explicit
depends_on 'hicolor-icon-theme'
depends_on :x11
def install
# Find our docbook catalog
ENV['XML_CATALOG_FILES'] = "#{etc}/xml/catalog"
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make" # separate steps required
system "make", "install"
end
end