homebrew-core/Formula/ipopt.rb

19 lines
498 B
Ruby
Raw Normal View History

require 'formula'
class Ipopt < Formula
homepage 'https://projects.coin-or.org/Ipopt'
2012-07-26 16:24:51 +00:00
url 'http://www.coin-or.org/download/source/Ipopt/Ipopt-3.10.0.tgz'
md5 '10d934a58b54dcc58c6ebee34ca437bb'
2012-07-26 16:24:51 +00:00
depends_on 'pkg-config' => :build
def install
ENV.fortran
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make"
ENV.deparallelize # Needs a serialized install
system "make install"
end
end