2012-06-30 16:04:05 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class AutopanoSiftC < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Find control points in overlapping image pairs"
|
2012-06-30 16:04:05 +00:00
|
|
|
homepage 'http://wiki.panotools.org/Autopano-sift-C'
|
2014-02-27 14:19:55 +00:00
|
|
|
url 'https://downloads.sourceforge.net/project/hugin/autopano-sift-C/autopano-sift-C-2.5.1/autopano-sift-C-2.5.1.tar.gz'
|
2012-06-30 16:04:05 +00:00
|
|
|
sha1 'f8c5f4004ae51cb58acc5cedb065ae0ef3e19a8c'
|
|
|
|
|
|
|
|
depends_on 'libpano'
|
2013-01-19 01:31:23 +00:00
|
|
|
depends_on 'cmake' => :build
|
2012-06-30 16:04:05 +00:00
|
|
|
|
|
|
|
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")
|
2012-06-30 16:04:05 +00:00
|
|
|
end
|
|
|
|
end
|