aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/atk.rb
diff options
context:
space:
mode:
authorNibbles 2bits2011-10-13 22:55:37 -0700
committerCharlie Sharpsteen2011-10-14 18:57:22 -0700
commite5b384c67a5526ffc7b306c826cf52bc9af152ff (patch)
tree5507acbf5e764a2605322cc96487ad1adefb65ef /Library/Formula/atk.rb
parentad4e898c9bffb086349ee8b8346a921250e3dd81 (diff)
downloadhomebrew-e5b384c67a5526ffc7b306c826cf52bc9af152ff.tar.bz2
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 #8111. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Diffstat (limited to 'Library/Formula/atk.rb')
-rw-r--r--Library/Formula/atk.rb12
1 files changed, 7 insertions, 5 deletions
diff --git a/Library/Formula/atk.rb b/Library/Formula/atk.rb
index 4a97314ef..363acc880 100644
--- a/Library/Formula/atk.rb
+++ b/Library/Formula/atk.rb
@@ -2,16 +2,18 @@ require 'formula'
class Atk < Formula
homepage 'http://library.gnome.org/devel/atk/'
- url 'http://ftp.gnome.org/pub/gnome/sources/atk/2.0/atk-2.0.1.tar.bz2'
- sha256 '3d81c7d70fc66e5b129567a7706b6f8ff5db18281a818b29d4dd5bcefa3d4a17'
+ 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
- system "./configure", "--disable-dependency-tracking",
- "--prefix=#{prefix}",
- "--disable-glibtest"
+ args = ["--prefix=#{prefix}",
+ "--disable-dependency-tracking",
+ "--enable-introspection=no"]
+ system "./configure", *args
+ system "make"
system "make install"
end
end