8fad3b7311
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
18 lines
426 B
Ruby
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 '69004f4d04fa6e49bf9fbeb957cfb97e'
|
|
|
|
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
|