homebrew-core/Formula/negfix8.rb
2015-10-23 20:10:24 +08:00

21 lines
632 B
Ruby

class Negfix8 < Formula
desc "Turn scanned negative images into positives"
homepage "https://sites.google.com/site/negfix"
url "https://sites.google.com/site/negfix/downloads/negfix8.3.tgz"
sha256 "2f360b0dd16ca986fbaebf5873ee55044cae591546b573bb17797cbf569515bd"
bottle :unneeded
depends_on "imagemagick" => "with-quantum-depth-16"
def install
bin.install "negfix8"
end
test do
(testpath/".negfix8/frameprofile").write "1 1 1 1 1 1 1"
system "#{bin}/negfix8", "-u", "frameprofile", test_fixtures("test.tiff"),
"#{testpath}/output.tiff"
assert (testpath/"output.tiff").exist?
end
end