homebrew-core/Formula/jpegrescan.rb
ilovezfs ac3f2d6a4e jpegrescan 1.1.0
Closes #2066.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
2016-06-17 01:49:22 -07:00

20 lines
529 B
Ruby

class Jpegrescan < Formula
desc "Losslessly shrink any JPEG file"
homepage "https://github.com/kud/jpegrescan"
url "https://github.com/kud/jpegrescan/archive/1.1.0.tar.gz"
sha256 "a8522e971d11c904f4b61af665c3be800f26404e2b14f5f80c675b4a72a42b32"
head "https://github.com/kud/jpegrescan.git"
bottle :unneeded
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