homebrew-core/Formula/eigen.rb

18 lines
422 B
Ruby
Raw Normal View History

2010-03-18 15:43:45 +00:00
require 'formula'
2011-03-10 05:11:03 +00:00
class Eigen < Formula
2010-03-18 15:43:45 +00:00
homepage 'http://eigen.tuxfamily.org/'
2012-02-22 04:48:36 +00:00
url 'http://bitbucket.org/eigen/eigen/get/3.0.5.tar.bz2'
md5 '43070952464a5bf21694e082e7fb8fce'
2010-03-18 15:43:45 +00:00
depends_on 'cmake' => :build
2010-03-18 15:43:45 +00:00
def install
ENV.fortran
2012-02-22 04:48:36 +00:00
mkdir 'eigen-build' do
system "cmake #{std_cmake_parameters} -DCMAKE_BUILD_TYPE=Release -Dpkg_config_libdir='#{lib}' .."
system "make install"
end
2010-03-18 15:43:45 +00:00
end
end