homebrew-core/Formula/atk.rb

29 lines
845 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Atk < Formula
homepage 'http://library.gnome.org/devel/atk/'
url 'http://ftp.gnome.org/pub/gnome/sources/atk/2.12/atk-2.12.0.tar.xz'
2014-03-28 16:11:43 +00:00
sha256 '48a8431974639c5a59c24fcd3ece1a19709872d5dfe78907524d9f5e9993f18f'
2014-02-22 18:46:47 +00:00
bottle do
2014-03-28 17:08:17 +00:00
sha1 "dcb833f1676a66c2f747a3f32437b915e9e978b7" => :mavericks
sha1 "629b4f16a103a3e4e55b6b22be8e5c01984f9f6b" => :mountain_lion
sha1 "1a951bd1902b8fb12f6043664a1e15f89363e220" => :lion
2014-02-22 18:46:47 +00:00
end
depends_on 'pkg-config' => :build
depends_on 'glib'
depends_on 'gobject-introspection'
2012-07-30 20:16:02 +00:00
option :universal
def install
2012-07-30 20:16:02 +00:00
ENV.universal_binary if build.universal?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--enable-introspection=yes"
system "make"
system "make install"
end
end