Commit 9645d825 authored by Nicholas J Meyer's avatar Nicholas J Meyer Committed by Ed Reel

Add armadillo package (#2193)

* Add armadillo package

* Fix armadillo package.
parent c13b6ee1
require 'package'
class Armadillo < Package
description 'Armadillo is a high quality linear algebra library (matrix maths) for the C++ language, aiming towards a good balance between speed and ease of use'
homepage 'http://arma.sourceforge.net/'
version '8.400.0'
source_url 'https://downloads.sourceforge.net/project/arma/armadillo-8.400.0.tar.xz'
source_sha256 '5cb6bc2f457a9d6a0758cfb15c418d48289909daccd79d0e428452029285dd9b'
depends_on 'openblas'
def self.build
system "./configure",
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment