homebrew-core/Formula/eigen.rb
Yan Zhou 8463712c60 Eigen 3.10
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-06-29 10:38:19 -07:00

21 lines
507 B
Ruby

require 'formula'
class Eigen < Formula
homepage 'http://eigen.tuxfamily.org/'
url 'http://bitbucket.org/eigen/eigen/get/3.1.0.tar.bz2'
sha1 '6afc46e7d44e85622024341500c3464e0e04beb4'
depends_on 'cmake' => :build
def install
ENV.fortran
mkdir 'eigen-build' do
args = std_cmake_args
args.delete '-DCMAKE_BUILD_TYPE=None'
args << '-DCMAKE_BUILD_TYPE=Release'
system "cmake", "..", "-Dpkg_config_libdir=#{lib}", *args
system "make install"
end
end
end