homebrew-core/Formula/autopano-sift-c.rb
2015-06-05 14:47:57 +01:00

21 lines
606 B
Ruby

require 'formula'
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'
sha1 'f8c5f4004ae51cb58acc5cedb065ae0ef3e19a8c'
depends_on 'libpano'
depends_on 'cmake' => :build
def install
system "cmake", ".", *std_cmake_args
system "make install"
end
test do
assert_match /Version #{Regexp.escape(version)}/,
pipe_output("#{bin}/autopano-sift-c")
end
end