21 lines
589 B
Ruby
21 lines
589 B
Ruby
require 'formula'
|
|
|
|
class Atk < Formula
|
|
homepage 'http://library.gnome.org/devel/atk/'
|
|
url 'http://ftp.gnome.org/pub/gnome/sources/atk/2.4/atk-2.4.0.tar.xz'
|
|
sha256 '091e9ce975a9fbbc7cd8fa64c9c389ffb7fa6cdde58b6d5c01b2c267093d888d'
|
|
|
|
depends_on 'pkg-config' => :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
|