From 16b27fdc6f8047f0ce998c780e07b11a40fe9263 Mon Sep 17 00:00:00 2001 From: Evan Bollig Date: Thu, 6 Oct 2011 13:08:30 -0600 Subject: New formula: armadillo "Armadillo is an open-source C++ linear algebra library (matrix maths) aiming towards a good balance between speed and ease of use. Integer, floating point and complex numbers are supported, as well as a subset of trigonometric and statistics functions. Various matrix decompositions are provided through optional integration with LAPACK, or one of its high performance drop-in replacements (such as MKL or ACML)." [http://arma.sourceforge.net/] Closes #8008. Signed-off-by: Jack Nagel --- Library/Formula/armadillo.rb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Library/Formula/armadillo.rb (limited to 'Library') diff --git a/Library/Formula/armadillo.rb b/Library/Formula/armadillo.rb new file mode 100644 index 000000000..8d6fc29e0 --- /dev/null +++ b/Library/Formula/armadillo.rb @@ -0,0 +1,16 @@ +require 'formula' + +class Armadillo < Formula + url 'http://downloads.sourceforge.net/project/arma/armadillo-2.2.3.tar.gz' + homepage 'http://arma.sourceforge.net/' + md5 '5966ec93a5840c36765430b61c8d50b2' + + depends_on 'cmake' => :build + depends_on 'boost' + + def install + system "cmake . #{std_cmake_parameters}" + system "make install" + end + +end -- cgit v1.2.3