homebrew-core/Formula/gtk+.rb

30 lines
793 B
Ruby
Raw Normal View History

2010-04-20 21:40:44 +00:00
require 'formula'
2011-03-10 05:11:03 +00:00
class Gtkx < Formula
2010-04-20 21:40:44 +00:00
homepage 'http://www.gtk.org/'
url 'http://ftp.gnome.org/pub/gnome/sources/gtk+/2.24/gtk+-2.24.6.tar.bz2'
sha256 '6f45bdbf9ea27eb3b5f977d7ee2365dede0d0ce454985680c26e5210163bbf37'
2010-04-20 21:40:44 +00:00
depends_on 'pkg-config' => :build
2010-04-20 21:40:44 +00:00
depends_on 'glib'
depends_on 'jpeg'
depends_on 'libtiff'
depends_on 'gdk-pixbuf'
depends_on 'pango'
2010-04-20 21:40:44 +00:00
depends_on 'jasper' => :optional
depends_on 'atk' => :optional
fails_with_llvm "Undefined symbols when linking", :build => "2326" unless MacOS.lion?
2010-04-20 21:40:44 +00:00
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-glibtest"
system "make install"
end
def test
system "gtk-demo"
end
2010-04-20 21:40:44 +00:00
end