homebrew-core/Formula/negfix8.rb
Simon Bugert e1ba411606 negfix8 8.3 (new formula)
Closes Homebrew/homebrew#40162.

Signed-off-by: Tim D. Smith <git@tim-smith.us>
2015-05-30 23:28:51 -07:00

19 lines
622 B
Ruby

class Negfix8 < Formula
desc "Negfix8 turns 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"
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