homebrew-core/Formula/autopano-sift-c.rb

20 lines
616 B
Ruby
Raw Normal View History

class AutopanoSiftC < Formula
desc "Find control points in overlapping image pairs"
homepage "http://wiki.panotools.org/Autopano-sift-C"
url "https://downloads.sourceforge.net/project/hugin/autopano-sift-C/autopano-sift-C-2.5.1/autopano-sift-C-2.5.1.tar.gz"
sha256 "9a9029353f240b105a9c0e31e4053b37b0f9ef4bd9166dcb26be3e819c431337"
depends_on "libpano"
depends_on "cmake" => :build
def install
system "cmake", ".", *std_cmake_args
system "make", "install"
end
2013-03-25 18:17:53 +00:00
test do
2014-05-04 19:12:41 +00:00
assert_match /Version #{Regexp.escape(version)}/,
pipe_output("#{bin}/autopano-sift-c")
end
end