Permalink
Browse files

Added eigen2 formula for Eigen version 2.x

The eigen formula now points to Eigen 3.x. Some things depend on Eigen 2.x.
They can use this.
  • Loading branch information...
1 parent e3b068d commit e99a06fc111106ee5d82faf3d9649254b54880fe @rwest committed Jun 13, 2012
Showing with 14 additions and 0 deletions.
  1. +14 −0 Library/Formula/eigen2.rb
View
@@ -0,0 +1,14 @@
+require 'formula'
+
+class Eigen2 < Formula
+ url 'http://bitbucket.org/eigen/eigen/get/2.0.17.tar.gz'
+ homepage 'http://eigen.tuxfamily.org/'
+ md5 'd13ad41c002b3d55cd241f6dbd83cc6c'
+
+ depends_on 'cmake' => :build
+
+ def install
+ system "cmake . #{std_cmake_parameters}"
+ system "make install"
+ end
+end

0 comments on commit e99a06f

Please sign in to comment.