homebrew-core/Formula/eigen.rb
Adam Vandenberg 311a17972a eigen 3.0.1
2011-07-17 17:09:12 -07:00

18 lines
426 B
Ruby

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