fa3d89a7c0
It seems that the main GNU download site has issues in some places outside the U.S., so we'll use the provided "ftpmirror.gnu.org" to pick a nearby mirror. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
19 lines
515 B
Ruby
19 lines
515 B
Ruby
require 'formula'
|
|
|
|
class Gsl < Formula
|
|
url 'http://ftpmirror.gnu.org/gsl/gsl-1.15.tar.gz'
|
|
homepage 'http://www.gnu.org/software/gsl/'
|
|
md5 '494ffefd90eef4ada678c306bab4030b'
|
|
|
|
def options
|
|
[["--universal", "Build a universal binary."]]
|
|
end
|
|
|
|
def install
|
|
ENV.universal_binary if ARGV.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
|