Commit 5f181fcf authored by Nicholas J Meyer's avatar Nicholas J Meyer Committed by Ed Reel

Fix armadillo package (#2197)

* Fix armadillo package

* Remove LIBDIR from armadillo install.
parent 824053cf
...@@ -8,17 +8,20 @@ class Armadillo < Package ...@@ -8,17 +8,20 @@ class Armadillo < Package
source_url 'https://downloads.sourceforge.net/project/arma/armadillo-8.400.0.tar.xz' source_url 'https://downloads.sourceforge.net/project/arma/armadillo-8.400.0.tar.xz'
source_sha256 '5cb6bc2f457a9d6a0758cfb15c418d48289909daccd79d0e428452029285dd9b' source_sha256 '5cb6bc2f457a9d6a0758cfb15c418d48289909daccd79d0e428452029285dd9b'
depends_on 'cmake' => :build
depends_on 'openblas' depends_on 'openblas'
def self.build def self.build
system "./configure", system "./configure",
"--prefix=#{CREW_PREFIX}", "-DCMAKE_INSTALL_PREFIX=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}" "-DCMAKE_INSTALL_LIBDIR=#{CREW_LIB_PREFIX}"
system "make" system "make"
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "make",
"DESTDIR=#{CREW_DEST_DIR}",
"install"
end end
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