2010-09-24 17:30:05 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Quantlib < Formula
|
2011-09-04 08:50:21 +00:00
|
|
|
url 'http://sourceforge.net/projects/quantlib/files/QuantLib/1.1/QuantLib-1.1.tar.gz'
|
2010-09-24 17:30:05 +00:00
|
|
|
homepage 'http://quantlib.org/'
|
2011-09-04 08:50:21 +00:00
|
|
|
md5 'bca1281b64677edab96cc97d2b1a6678'
|
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
|