2010-04-20 21:40:44 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Gtkx <Formula
|
|
|
|
url 'ftp://ftp.gnome.org/pub/gnome/sources/gtk+/2.20/gtk+-2.20.1.tar.bz2'
|
|
|
|
homepage 'http://www.gtk.org/'
|
|
|
|
sha256 '0e081731d21e34ff45c82199490c2889504fa8b3c7e117c043e82ababaec0f65'
|
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-04-20 21:40:44 +00:00
|
|
|
depends_on 'glib'
|
|
|
|
depends_on 'jpeg'
|
2010-05-19 17:20:47 +00:00
|
|
|
depends_on 'libtiff'
|
|
|
|
depends_on 'pango'
|
2010-04-20 21:40:44 +00:00
|
|
|
depends_on 'jasper' => :optional
|
|
|
|
depends_on 'atk' => :optional
|
|
|
|
|
|
|
|
def install
|
2010-10-06 18:42:09 +00:00
|
|
|
fails_with_llvm "Undefined symbols when linking", :build => "2326"
|
2010-04-20 21:40:44 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--disable-glibtest"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|