aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/armadillo.rb16
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