aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAlex Marten2012-05-06 12:15:17 -0400
committerAdam Vandenberg2012-06-10 11:51:26 -0700
commitb16d562402dc32f6c8e5a5209d9f6a7b828ca156 (patch)
tree90301d37ab79c64593c3ad5eeceeee3190f99ae9 /Library/Formula
parent270a1dd5a4e4152f6152f44c7dc0910309112919 (diff)
downloadhomebrew-b16d562402dc32f6c8e5a5209d9f6a7b828ca156.tar.bz2
nlopt 2.2.4
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/nlopt.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/Library/Formula/nlopt.rb b/Library/Formula/nlopt.rb
new file mode 100644
index 000000000..0dc330932
--- /dev/null
+++ b/Library/Formula/nlopt.rb
@@ -0,0 +1,13 @@
+require 'formula'
+
+class Nlopt < Formula
+ homepage 'http://ab-initio.mit.edu/wiki/index.php/NLopt'
+ url 'http://ab-initio.mit.edu/nlopt/nlopt-2.2.4.tar.gz'
+ sha1 'a97fcffb0c3aaf57aab5aadb9487e99b09dbee54'
+
+ def install
+ system "./configure", "--prefix=#{prefix}"
+ system "make"
+ system "make install"
+ end
+end