aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ipopt.rb
diff options
context:
space:
mode:
authorJuxi Leitner2011-04-15 14:29:03 +0200
committerCharlie Sharpsteen2011-09-01 09:33:23 -0700
commitfd7f661c04fcd83e4e26f8d2e2d802dac0b2a32f (patch)
tree8f5e6ede40b006381074e2f00800845cb114282d /Library/Formula/ipopt.rb
parentc189b5b21ed59fa765984d0dc521a86cfad5057f (diff)
downloadhomebrew-fd7f661c04fcd83e4e26f8d2e2d802dac0b2a32f.tar.bz2
New Formula: IPopt
IPopt is an interior-point solver for non-linear optimization problems. part of the COIN-OR project. Closes #5856. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
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