homebrew-core/Formula/gsl.rb

20 lines
548 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.16.tar.gz'
mirror 'http://ftp.gnu.org/gnu/gsl/gsl-1.16.tar.gz'
sha1 '210af9366485f149140973700d90dc93a4b6213e'
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