homebrew-core/Formula/eigen.rb
Charlie Sharpsteen 544fed57b7 Eigen: Derp. That should be ENV.fortran
This is what happens when I try to make quick fixes before the first cup of coffee...
2012-02-01 09:00:03 -08:00

19 lines
450 B
Ruby

require 'formula'
class Eigen < Formula
url 'http://bitbucket.org/eigen/eigen/get/3.0.4.tar.bz2'
homepage 'http://eigen.tuxfamily.org/'
md5 'c4a403660311ad8d62a28c118883310f'
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