homebrew-core/Formula/jpegrescan.rb
Alex Dunn 723d160b3f jpegrescan 1.0.0 (new formula)
Migrate from head-only.

Closes Homebrew/homebrew#39159.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-04-29 15:31:29 +01:00

18 lines
469 B
Ruby

class Jpegrescan < Formula
homepage "https://github.com/kud/jpegrescan"
url "https://github.com/kud/jpegrescan/archive/1.0.0.tar.gz"
sha256 "faa0f6009b16a67e6a847b40e7e736e9a5a716cefb64a7c470e266219db90d02"
head "https://github.com/kud/jpegrescan.git"
depends_on "jpeg"
def install
bin.install "jpegrescan"
end
test do
system bin/"jpegrescan", "-v", test_fixtures("test.jpg"), testpath/"out.jpg"
File.exist? testpath/"out.jpg"
end
end