From 26d4dabca342fe277d9cd47ea13741fda61ada1d Mon Sep 17 00:00:00 2001 From: Vlad Lazar Date: Tue, 3 Jan 2012 19:59:32 -0500 Subject: Initial commit for Adol-c Adol-c is a c++ library that allows automatic computations of derivatives. Closes #9404. Signed-off-by: Mike McQuaid --- Library/Formula/adol-c.rb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Library/Formula/adol-c.rb (limited to 'Library/Formula') 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 -- cgit v1.2.3