Skip to content

Instantly share code, notes, and snippets.

@pablasso
Created November 1, 2012 18:06
Show Gist options
  • Save pablasso/3995441 to your computer and use it in GitHub Desktop.
Save pablasso/3995441 to your computer and use it in GitHub Desktop.
GSL
require 'formula'
class Gsl < Formula
url 'http://ftp.gnu.org/gnu/gsl/gsl-1.14.tar.gz'
mirror 'http://ftpmirror.gnu.org/gsl/gsl-1.14.tar.gz'
homepage 'http://www.gnu.org/software/gsl/'
md5 'd55e7b141815412a072a3f0e12442042'
option :universal
def install
ENV.universal_binary if build.universal?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make" # A GNU tool which doesn't support just make install! Shameful!
system "make install"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment