homebrew-core/Formula/eigen.rb
mkroehnert 95b001c013 update Eigen from v2.0.15 to 3.0.0
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-04 14:52:26 -07:00

18 lines
426 B
Ruby

require 'formula'
class Eigen < Formula
url 'http://bitbucket.org/eigen/eigen/get/3.0.0.tar.bz2'
homepage 'http://eigen.tuxfamily.org/'
md5 '046baf7072f008653361f8321560a26f'
depends_on 'cmake' => :build
def install
mkdir 'eigen-build'
Dir.chdir 'eigen-build' do
system "cmake .. #{std_cmake_parameters} -DCMAKE_BUILD_TYPE=Release"
system "make"
system "make install"
end
end
end