homebrew-core/Formula/libffi.rb
2013-03-08 15:52:50 -06:00

18 lines
685 B
Ruby

require 'formula'
# 3.0.12 has a packaging error which causes GTK+, and possibly other
# software, to fail to build; see https://github.com/mxcl/homebrew/issues/18329
class Libffi < Formula
homepage 'http://sourceware.org/libffi/'
url 'http://mirrors.kernel.org/sources.redhat.com/libffi/libffi-3.0.11.tar.gz'
mirror 'ftp://sourceware.org/pub/libffi/libffi-3.0.11.tar.gz'
sha1 'bff6a6c886f90ad5e30dee0b46676e8e0297d81d'
keg_only :provided_by_osx, "Some formulae require a newer version of libffi."
def install
ENV.universal_binary
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make install"
end
end