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/'
|
2012-10-24 05:49:36 +00:00
|
|
|
url 'http://ftp.gnome.org/pub/gnome/sources/atk/2.6/atk-2.6.0.tar.xz'
|
|
|
|
sha256 'eff663f90847620bb68c9c2cbaaf7f45e2ff44163b9ab3f10d15be763680491f'
|
2010-02-26 04:06:31 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2013-02-03 20:28:59 +00:00
|
|
|
depends_on 'xz' => :build
|
2010-02-26 04:06:31 +00:00
|
|
|
depends_on 'glib'
|
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}",
|
|
|
|
"--enable-introspection=no"
|
2011-10-14 05:55:37 +00:00
|
|
|
system "make"
|
2010-02-26 04:06:31 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|