homebrew-core/Formula/libffi.rb
Charlie Sharpsteen 4f9f0d0bf5 mirror support: Mirrors for kernel.org software
- All Debian software is now mirrored by ftp.us.debian.org.

- LibFFI is mirrored by ftp.sourceware.org.

- All kernel.org software is now mirrored by mirrorservice.org.

Fixes Homebrew/homebrew#7478.
2011-09-19 09:25:02 -07:00

16 lines
520 B
Ruby

require 'formula'
class Libffi < Formula
url 'http://mirrors.kernel.org/sources.redhat.com/libffi/libffi-3.0.9.tar.gz'
mirror 'ftp://sourceware.org/pub/libffi/libffi-3.0.9.tar.gz'
homepage 'http://sourceware.org/libffi/'
sha1 '56e41f87780e09d06d279690e53d4ea2c371ea88'
keg_only :provided_by_osx, "Guile uses this version of libffi."
def install
ENV.universal_binary
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make install"
end
end