homebrew-core/Formula/ipopt.rb
2012-09-03 11:36:42 -07:00

18 lines
507 B
Ruby

require 'formula'
class Ipopt < Formula
homepage 'https://projects.coin-or.org/Ipopt'
url 'http://www.coin-or.org/download/source/Ipopt/Ipopt-3.10.0.tgz'
sha1 '3dec7e71f93756865cc83275f7ddb22e1dc5edcc'
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