2010-02-26 04:06:31 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Atk < Formula
|
2010-02-26 04:06:31 +00:00
|
|
|
homepage 'http://library.gnome.org/devel/atk/'
|
2013-09-25 14:57:13 +00:00
|
|
|
url 'http://ftp.gnome.org/pub/gnome/sources/atk/2.10/atk-2.10.0.tar.xz'
|
|
|
|
sha256 '636917a5036bc851d8491194645d284798ec118919a828be5e713b6ecc5b50b0'
|
2010-02-26 04:06:31 +00:00
|
|
|
|
2014-02-22 18:46:47 +00:00
|
|
|
bottle do
|
|
|
|
sha1 "f2d6e44d20954bc11b0b031d95c2b8def08227ac" => :mavericks
|
|
|
|
sha1 "a001261286b17f0c43fce8f1f267a3e19d133bc9" => :mountain_lion
|
|
|
|
sha1 "30c7d64a0836a73d68ead846db528ab0479930d5" => :lion
|
|
|
|
end
|
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-02-26 04:06:31 +00:00
|
|
|
depends_on 'glib'
|
2013-10-13 18:04:24 +00:00
|
|
|
depends_on 'gobject-introspection'
|
2010-04-07 05:58:35 +00:00
|
|
|
|
2012-07-30 20:16:02 +00:00
|
|
|
option :universal
|
2012-02-04 06:05:49 +00:00
|
|
|
|
2010-02-26 04:06:31 +00:00
|
|
|
def install
|
2012-07-30 20:16:02 +00:00
|
|
|
ENV.universal_binary if build.universal?
|
2012-02-04 06:05:49 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
2013-10-13 18:04:24 +00:00
|
|
|
"--enable-introspection=yes"
|
2011-10-14 05:55:37 +00:00
|
|
|
system "make"
|
2010-02-26 04:06:31 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|