aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVlad Lazar2012-01-03 19:59:32 -0500
committerMike McQuaid2012-01-05 21:24:54 +0000
commit26d4dabca342fe277d9cd47ea13741fda61ada1d (patch)
treeade58f0b6863679055979ab28b8dd58685b8b5d8
parentdfb8b1c5418b1e10ed7c50644a9e9023ac8c8656 (diff)
downloadhomebrew-26d4dabca342fe277d9cd47ea13741fda61ada1d.tar.bz2
Initial commit for Adol-c
Adol-c is a c++ library that allows automatic computations of derivatives. Closes #9404. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
-rw-r--r--Library/Formula/adol-c.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/Library/Formula/adol-c.rb b/Library/Formula/adol-c.rb
new file mode 100644
index 000000000..16ec73ec6
--- /dev/null
+++ b/Library/Formula/adol-c.rb
@@ -0,0 +1,14 @@
+require 'formula'
+
+class AdolC < Formula
+ url 'http://www.coin-or.org/download/source/ADOL-C/ADOL-C-2.2.1.tgz'
+ homepage 'http://www.coin-or.org/projects/ADOL-C.xml'
+ md5 '5fe149865b47f77344ff910702da8b99'
+
+ def install
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make install"
+ end
+
+end