3fe4280192
Closes Homebrew/homebrew#9183. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
21 lines
595 B
Ruby
21 lines
595 B
Ruby
require 'formula'
|
|
|
|
class GobjectIntrospection < Formula
|
|
url 'http://ftp.gnome.org/pub/gnome/sources/gobject-introspection/1.31/gobject-introspection-1.31.10.tar.xz'
|
|
homepage 'http://live.gnome.org/GObjectIntrospection'
|
|
md5 'f71e80054048546d282af5f205a08a14'
|
|
|
|
depends_on 'pkg-config' => :build
|
|
depends_on 'glib'
|
|
depends_on 'libffi'
|
|
|
|
def options
|
|
[["--universal", "Build universal binaries"]]
|
|
end
|
|
|
|
def install
|
|
ENV.universal_binary if ARGV.build_universal?
|
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
|
system "make install"
|
|
end
|
|
end
|