homebrew-core/Formula/atk.rb
Nibbles 2bits 1fc4abd824 atk 2.2.0
This updates atk to version 2.2.0 and fixes two configure args
so that the build is similar to other libraries like gdk-pixbuf,
that are interrelated.  --enable-introspection was set to no,
and the glib test is allowed to be run by configure to find
the environment of glib, seeing as glib is listed as a dep.
This was tested on clang-2.0, llvm-2335.9, and gcc-4.2.1 on
x86_64 10.6.8.

Closes Homebrew/homebrew#8111.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-10-14 18:57:22 -07:00

19 lines
515 B
Ruby

require 'formula'
class Atk < Formula
homepage 'http://library.gnome.org/devel/atk/'
url 'http://ftp.gnome.org/pub/gnome/sources/atk/2.2/atk-2.2.0.tar.bz2'
sha256 'd201e3f5808aef0b1aec2277bfa61074f68863e405428adb57a73aab5c838450'
depends_on 'pkg-config' => :build
depends_on 'glib'
def install
args = ["--prefix=#{prefix}",
"--disable-dependency-tracking",
"--enable-introspection=no"]
system "./configure", *args
system "make"
system "make install"
end
end