homebrew-core/Formula/gsl.rb

20 lines
539 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
2012-08-10 04:55:01 +00:00
homepage 'http://www.gnu.org/software/gsl/'
url 'http://ftpmirror.gnu.org/gsl/gsl-1.15.tar.gz'
mirror 'http://ftp.gnu.org/gnu/gsl/gsl-1.15.tar.gz'
md5 '494ffefd90eef4ada678c306bab4030b'
2009-10-30 10:43:47 +00:00
2012-08-10 04:55:01 +00:00
option :universal
2009-10-30 10:43:47 +00:00
def install
2012-08-10 04:55:01 +00:00
ENV.universal_binary if build.universal?
2012-08-10 04:55:01 +00:00
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