2009-10-30 10:43:47 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
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-12-02 09:45:15 +00:00
|
|
|
aka 'gnu-scientific-library'
|
2009-10-30 10:43:47 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
|
|
|
system "make" # A GNU tool which doesn't support just make install! Shameful!
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|