homebrew-core/Formula/gsl.rb

20 lines
512 B
Ruby
Raw Normal View History

2009-10-30 10:43:47 +00:00
require 'formula'
2011-03-10 05:11:03 +00:00
class Gsl < Formula
url 'ftp://ftp.gnu.org/gnu/gsl/gsl-1.15.tar.gz'
2009-10-30 10:43:47 +00:00
homepage 'http://www.gnu.org/software/gsl/'
md5 '494ffefd90eef4ada678c306bab4030b'
2009-10-30 10:43:47 +00:00
def options
[["--universal", "Build a universal binary."]]
end
2009-10-30 10:43:47 +00:00
def install
2011-04-21 16:42:27 +00:00
ENV.universal_binary if ARGV.build_universal?
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
2009-10-30 10:43:47 +00:00
system "make" # A GNU tool which doesn't support just make install! Shameful!
system "make install"
end
end