From da00fe346fc03028f750656cc533a24a17ad78ab Mon Sep 17 00:00:00 2001 From: Sean Lynch Date: Fri, 28 Oct 2011 21:35:45 -0700 Subject: Eigen 3.0.3 http://eigen.tuxfamily.org/bz/show_bug.cgi?id=338 has been fixed, but there's not yet a pkgconfig dir under #{prefix}/lib when building, so we need to set pkg_config_libdir or the .pc file gets installed in pkg_config_libdir-NOTFOUND. Signed-off-by: Adam Vandenberg --- Library/Formula/eigen.rb | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/eigen.rb b/Library/Formula/eigen.rb index 6fd75d74d..394f9d6c1 100644 --- a/Library/Formula/eigen.rb +++ b/Library/Formula/eigen.rb @@ -1,19 +1,16 @@ require 'formula' class Eigen < Formula - url 'http://bitbucket.org/eigen/eigen/get/3.0.2.tar.bz2' + url 'http://bitbucket.org/eigen/eigen/get/3.0.3.tar.bz2' homepage 'http://eigen.tuxfamily.org/' - md5 '45ee4ac26b25ae7152bf1e7754497971' + md5 'bfe750809b54a012a402034a650b4c62' depends_on 'cmake' => :build def install - # http://eigen.tuxfamily.org/bz/show_bug.cgi?id=338 - inreplace 'CMakeLists.txt', 'DESTINATION share/pkgconfig', 'DESTINATION lib/pkgconfig' - mkdir 'eigen-build' Dir.chdir 'eigen-build' do - system "cmake .. #{std_cmake_parameters} -DCMAKE_BUILD_TYPE=Release" + system "cmake .. #{std_cmake_parameters} -DCMAKE_BUILD_TYPE=Release -Dpkg_config_libdir=#{lib}" system "make install" end end -- cgit v1.2.3