flann 1.8.2

Closes Homebrew/homebrew#16724.
This commit is contained in:
Adam Vandenberg 2013-01-20 15:59:42 -08:00
parent 1ea93e882a
commit 93540dfba3

View file

@ -2,8 +2,8 @@ require 'formula'
class Flann < Formula class Flann < Formula
homepage 'http://www.cs.ubc.ca/~mariusm/index.php/FLANN/FLANN' homepage 'http://www.cs.ubc.ca/~mariusm/index.php/FLANN/FLANN'
url 'http://people.cs.ubc.ca/~mariusm/uploads/FLANN/flann-1.7.1-src.zip' url 'http://people.cs.ubc.ca/~mariusm/uploads/FLANN/flann-1.8.2-src.zip'
sha1 '61b9858620528919ea60a2a4b085ccc2b3c2d138' sha1 '62ace1c41365dfc8ceabde1381febc5c8b71ad98'
option 'enable-python', 'Enable python bindings' option 'enable-python', 'Enable python bindings'
option 'enable-matlab', 'Enable matlab/octave bindings' option 'enable-matlab', 'Enable matlab/octave bindings'
@ -31,8 +31,7 @@ class Flann < Formula
inreplace 'CMakeLists.txt', 'add_subdirectory( examples )', '' unless build.include? 'with-examples' inreplace 'CMakeLists.txt', 'add_subdirectory( examples )', '' unless build.include? 'with-examples'
mkdir 'build' mkdir 'build' do
cd 'build' do
system 'cmake', '..', *args system 'cmake', '..', *args
system 'make install' system 'make install'
end end