Skip to content

Instantly share code, notes, and snippets.

@ehq
Created November 25, 2011 18:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ehq/1394111 to your computer and use it in GitHub Desktop.
Save ehq/1394111 to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment