aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ipopt.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/ipopt.rb')
-rw-r--r--Library/Formula/ipopt.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/ipopt.rb b/Library/Formula/ipopt.rb
new file mode 100644
index 000000000..6aa093fa1
--- /dev/null
+++ b/Library/Formula/ipopt.rb
@@ -0,0 +1,16 @@
+require 'formula'
+
+class Ipopt < Formula
+ url 'http://www.coin-or.org/download/source/Ipopt/Ipopt-3.10.0.tgz'
+ homepage 'https://projects.coin-or.org/Ipopt'
+ md5 '10d934a58b54dcc58c6ebee34ca437bb'
+
+ 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