Skip to content

Commit

Permalink
update Eigen from v2.0.15 to 3.0.0
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information
mkroehnert authored and adamv committed Apr 4, 2011
1 parent 4992f31 commit d8e052a
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Library/Formula/eigen.rb
@@ -1,14 +1,18 @@
require 'formula'

class Eigen < Formula
url 'http://bitbucket.org/eigen/eigen/get/2.0.15.tar.bz2'
url 'http://bitbucket.org/eigen/eigen/get/3.0.0.tar.bz2'
homepage 'http://eigen.tuxfamily.org/'
md5 'a96fe69d652d7b3b1d990c99bbc518fb'
md5 '046baf7072f008653361f8321560a26f'

depends_on 'cmake' => :build

def install
system "cmake . #{std_cmake_parameters}"
system "make 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

0 comments on commit d8e052a

Please sign in to comment.