2011-10-06 19:08:30 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Armadillo < Formula
|
|
|
|
homepage 'http://arma.sourceforge.net/'
|
2012-10-06 14:46:51 +00:00
|
|
|
url 'http://sourceforge.net/projects/arma/files/armadillo-3.4.3.tar.gz'
|
|
|
|
sha1 'a89adc51fa01640bfe463d9120cae57b2c073f8e'
|
2011-10-06 19:08:30 +00:00
|
|
|
|
|
|
|
depends_on 'cmake' => :build
|
|
|
|
depends_on 'boost'
|
|
|
|
|
|
|
|
def install
|
2012-05-22 21:37:04 +00:00
|
|
|
system "cmake", ".", *std_cmake_args
|
2011-10-06 19:08:30 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|