homebrew-core/Formula/gsl.rb

20 lines
518 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
2010-03-20 10:33:34 +00:00
url 'ftp://ftp.gnu.org/gnu/gsl/gsl-1.14.tar.gz'
2009-10-30 10:43:47 +00:00
homepage 'http://www.gnu.org/software/gsl/'
2010-03-20 10:33:34 +00:00
md5 'd55e7b141815412a072a3f0e12442042'
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
ENV.universal_binary if ARGV.include? "--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