2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-07 19:22:45 +00:00
|
|
|
|
|
|
|
class Libffi <Formula
|
2010-10-08 12:19:31 +00:00
|
|
|
url 'http://mirrors.kernel.org/sources.redhat.com/libffi/libffi-3.0.9.tar.gz'
|
2010-04-07 05:58:35 +00:00
|
|
|
homepage 'http://sourceware.org/libffi/'
|
2010-10-08 12:19:31 +00:00
|
|
|
sha1 '56e41f87780e09d06d279690e53d4ea2c371ea88'
|
2010-04-07 05:58:35 +00:00
|
|
|
|
|
|
|
keg_only :provided_by_osx
|
2009-09-07 19:22:45 +00:00
|
|
|
|
|
|
|
def install
|
2010-08-20 19:43:18 +00:00
|
|
|
ENV.universal_binary
|
2009-09-07 19:22:45 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|