aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorSean Lynch2011-10-28 21:35:45 -0700
committerAdam Vandenberg2011-10-29 10:48:01 -0700
commitda00fe346fc03028f750656cc533a24a17ad78ab (patch)
tree6b8717fb32166c586f5c19eae5aa7ef72d593b06 /Library/Formula
parentd6186d59d0c7a280429227e11e7ebec7fabc6c6d (diff)
downloadhomebrew-da00fe346fc03028f750656cc533a24a17ad78ab.tar.bz2
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 <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/eigen.rb9
1 files changed, 3 insertions, 6 deletions
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