2012-06-30 16:04:05 +00:00
|
|
|
class AutopanoSiftC < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Find control points in overlapping image pairs"
|
2015-08-03 12:55:31 +00:00
|
|
|
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"
|
2012-06-30 16:04:05 +00:00
|
|
|
|
2015-12-29 13:24:46 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha256 "325d74775797dfe0cdc0c6b6e0255166fe7573b4648c20758adf1386c2c85991" => :el_capitan
|
|
|
|
sha256 "929174dc5dd8b519136154249df83e026ac9c234988a979a592d03c47477988b" => :yosemite
|
|
|
|
sha256 "5a777245c630a0d91178d347f3e452b7d9784c7d7ff15f9fa4ed12d9bdc2830c" => :mavericks
|
|
|
|
end
|
|
|
|
|
2015-08-03 12:55:31 +00:00
|
|
|
depends_on "cmake" => :build
|
2015-12-29 12:58:30 +00:00
|
|
|
depends_on "libpano"
|
2012-06-30 16:04:05 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "cmake", ".", *std_cmake_args
|
2015-08-03 12:55:31 +00:00
|
|
|
system "make", "install"
|
2012-06-30 16:04:05 +00:00
|
|
|
end
|
|
|
|
|
2013-03-25 18:17:53 +00:00
|
|
|
test do
|
2015-12-29 12:58:30 +00:00
|
|
|
assert_match "Version #{version}", pipe_output("#{bin}/autopano-sift-c")
|
2012-06-30 16:04:05 +00:00
|
|
|
end
|
|
|
|
end
|