diff options
| author | Evan Bollig | 2011-10-06 13:08:30 -0600 |
|---|---|---|
| committer | Jack Nagel | 2011-10-08 19:41:16 -0500 |
| commit | 16b27fdc6f8047f0ce998c780e07b11a40fe9263 (patch) | |
| tree | 18070ca6e41fde23f99cb3c46265a9f0ae937072 /Library/Formula/armadillo.rb | |
| parent | 5a28239ad881395cea411c4ebef9765024ee2c0c (diff) | |
| download | homebrew-16b27fdc6f8047f0ce998c780e07b11a40fe9263.tar.bz2 | |
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 <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/armadillo.rb')
| -rw-r--r-- | Library/Formula/armadillo.rb | 16 |
1 files changed, 16 insertions, 0 deletions
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 |
