homebrew-core/Formula/eigen.rb
2012-02-24 21:35:51 -08:00

17 lines
420 B
Ruby

require 'formula'
class Eigen < Formula
homepage 'http://eigen.tuxfamily.org/'
url 'http://bitbucket.org/eigen/eigen/get/3.0.5.tar.bz2'
md5 '43070952464a5bf21694e082e7fb8fce'
depends_on 'cmake' => :build
def install
ENV.fortran
mkdir 'eigen-build' do
system "cmake #{std_cmake_parameters} -DCMAKE_BUILD_TYPE=Release -Dpkg_config_libdir=#{lib} .."
system "make install"
end
end
end