jpeg-archive 2.1.1 (new formula)

Closes Homebrew/homebrew#38888.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Daniel G. Taylor 2015-04-21 00:45:30 -07:00 committed by Mike McQuaid
parent 762a2ad3ac
commit 0c78e67cb9

15
Formula/jpeg-archive.rb Normal file
View file

@ -0,0 +1,15 @@
class JpegArchive < Formula
homepage "https://github.com/danielgtaylor/jpeg-archive"
url "https://github.com/danielgtaylor/jpeg-archive/archive/2.1.1.tar.gz"
sha256 "494534f5308f99743f11f3a7c151a8d5ca8a5f1f8b61ea119098511d401bc618"
depends_on "mozjpeg"
def install
system "make", "install", "PREFIX=#{prefix}"
end
test do
system "#{bin}/jpeg-recompress", test_fixtures("test.jpg"), "output.jpg"
end
end