homebrew-core/Formula/eigen.rb
Adam Vandenberg fc65fdea58 Revert "eigen: fix checksum"
This reverts commit a7b636ffccbec191ee85cbedcba5a20363caf100.

The sha changed back, for some reason.

Closes Homebrew/homebrew#19708.
2013-05-10 12:15:39 -07:00

23 lines
571 B
Ruby

require 'formula'
class Eigen < Formula
homepage 'http://eigen.tuxfamily.org/'
url 'http://bitbucket.org/eigen/eigen/get/3.1.3.tar.bz2'
sha1 '07e248deaaa5d2a8822a0581a606151127fce450'
depends_on 'cmake' => :build
option :universal
def install
ENV.universal_binary if build.universal?
mkdir 'eigen-build' do
args = std_cmake_args
args.delete '-DCMAKE_BUILD_TYPE=None'
args << '-DCMAKE_BUILD_TYPE=Release'
args << "-Dpkg_config_libdir=#{lib}" << '..'
system 'cmake', *args
system 'make install'
end
end
end