Created
November 27, 2012 07:29
-
-
Save mitmul/4152945 to your computer and use it in GitHub Desktop.
PCL(trunk, 1.7.0)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
# Documentation: https://github.com/mxcl/homebrew/wiki/Formula-Cookbook | |
# PLEASE REMOVE ALL GENERATED COMMENTS BEFORE SUBMITTING YOUR PULL REQUEST! | |
class Pcl < Formula | |
homepage 'http://pointclouds.org' | |
head 'http://svn.pointclouds.org/pcl/trunk/' | |
depends_on 'cmake' => :build | |
depends_on 'boost' | |
depends_on 'eigen' | |
depends_on 'flann' | |
depends_on 'qt' | |
depends_on 'vtk' | |
depends_on 'qhull' | |
def install | |
system "cmake", ".", *std_cmake_args | |
system "make install" # if this fails, try separate make/make install steps | |
end | |
def test | |
# This test will fail and we won't accept that! It's enough to just replace | |
# "false" with the main program this formula installs, but it'd be nice if you | |
# were more thorough. Run the test with `brew test PCL`. | |
system "false" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Locate this pcl.rb to /usr/local/Library/Formula, and do "brew install --HEAD pcl".