aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/atk.rb
blob: 75cf208dd13af5d76c781ae55df23cc695adc1d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
require 'formula'

class Atk < Formula
  homepage 'http://library.gnome.org/devel/atk/'
  url 'http://ftp.gnome.org/pub/gnome/sources/atk/2.10/atk-2.10.0.tar.xz'
  sha256 '636917a5036bc851d8491194645d284798ec118919a828be5e713b6ecc5b50b0'

  depends_on 'pkg-config' => :build
  depends_on 'xz' => :build
  depends_on 'glib'

  option :universal

  def install
    ENV.universal_binary if build.universal?
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--enable-introspection=no"
    system "make"
    system "make install"
  end
end