2010-09-24 17:30:05 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Quantlib < Formula
|
2010-09-24 17:30:05 +00:00
|
|
|
homepage 'http://quantlib.org/'
|
2012-11-10 06:26:25 +00:00
|
|
|
url 'http://sourceforge.net/projects/quantlib/files/QuantLib/1.2.1/QuantLib-1.2.1.tar.gz'
|
|
|
|
sha1 '2a9faf539c7452f2f6c2b8d593677cd133659742'
|
2010-09-24 17:30:05 +00:00
|
|
|
|
|
|
|
depends_on 'boost'
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|