b4a08cff6a
Closes Homebrew/homebrew#10224. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
19 lines
450 B
Ruby
19 lines
450 B
Ruby
require 'formula'
|
|
|
|
class Eigen < Formula
|
|
url 'http://bitbucket.org/eigen/eigen/get/3.0.5.tar.bz2'
|
|
homepage 'http://eigen.tuxfamily.org/'
|
|
md5 '43070952464a5bf21694e082e7fb8fce'
|
|
|
|
depends_on 'cmake' => :build
|
|
|
|
def install
|
|
ENV.fortran
|
|
|
|
mkdir 'eigen-build'
|
|
Dir.chdir 'eigen-build' do
|
|
system "cmake .. #{std_cmake_parameters} -DCMAKE_BUILD_TYPE=Release -Dpkg_config_libdir=#{lib}"
|
|
system "make install"
|
|
end
|
|
end
|
|
end
|