homebrew-core/Formula/gsl.rb
Iandol 6a8158ef98 gsl: add --universal option
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-04 08:44:50 -07:00

19 lines
518 B
Ruby

require 'formula'
class Gsl < Formula
url 'ftp://ftp.gnu.org/gnu/gsl/gsl-1.14.tar.gz'
homepage 'http://www.gnu.org/software/gsl/'
md5 'd55e7b141815412a072a3f0e12442042'
def options
[["--universal", "Build a universal binary."]]
end
def install
ENV.universal_binary if ARGV.include? "--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