homebrew-core/Formula/libffi.rb

17 lines
484 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Libffi < Formula
url 'http://mirrors.kernel.org/sources.redhat.com/libffi/libffi-3.0.9.tar.gz'
homepage 'http://sourceware.org/libffi/'
sha1 '56e41f87780e09d06d279690e53d4ea2c371ea88'
2011-03-16 05:01:31 +00:00
keg_only :provided_by_osx,
"TODO: What software depends on this newer libffi?"
def install
ENV.universal_binary
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make install"
end
end