homebrew-core/Formula/ipopt.rb

19 lines
507 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'
sha1 '3dec7e71f93756865cc83275f7ddb22e1dc5edcc'
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