2011-05-16 13:50:44 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Glade < Formula
|
|
|
|
homepage 'http://glade.gnome.org/'
|
2013-10-19 23:29:59 +00:00
|
|
|
url 'http://ftp.gnome.org/pub/GNOME/sources/glade3/3.8/glade3-3.8.4.tar.xz'
|
|
|
|
sha256 'c7ae0775b96a400cf43be738b2f836663a505b1458255df9ce83a340057e3d08'
|
2011-05-16 13:50:44 +00:00
|
|
|
|
|
|
|
depends_on 'pkg-config' => :build
|
2013-02-03 20:39:49 +00:00
|
|
|
depends_on 'intltool' => :build
|
2011-05-16 13:50:44 +00:00
|
|
|
depends_on 'gettext'
|
|
|
|
depends_on 'libglade'
|
2013-01-21 09:33:56 +00:00
|
|
|
depends_on 'libxml2' # make this dep explicit
|
2011-05-16 13:50:44 +00:00
|
|
|
depends_on 'hicolor-icon-theme'
|
2012-06-07 01:35:12 +00:00
|
|
|
depends_on :x11
|
2011-05-16 13:50:44 +00:00
|
|
|
|
|
|
|
def install
|
2012-06-07 04:06:33 +00:00
|
|
|
# Find our docbook catalog
|
|
|
|
ENV['XML_CATALOG_FILES'] = "#{etc}/xml/catalog"
|
|
|
|
|
2012-03-29 17:10:14 +00:00
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
2011-05-16 13:50:44 +00:00
|
|
|
"--prefix=#{prefix}"
|
2012-03-29 17:10:14 +00:00
|
|
|
system "make" # separate steps required
|
|
|
|
system "make", "install"
|
2011-05-16 13:50:44 +00:00
|
|
|
end
|
|
|
|
end
|