homebrew-core/Formula/jpeg.rb
2018-07-30 22:53:00 +00:00

26 lines
939 B
Ruby

class Jpeg < Formula
desc "Image manipulation library"
homepage "https://www.ijg.org/"
url "https://www.ijg.org/files/jpegsrc.v9c.tar.gz"
mirror "https://dl.bintray.com/homebrew/mirror/jpeg-9c.tar.gz"
mirror "https://fossies.org/linux/misc/jpegsrc.v9c.tar.gz"
sha256 "650250979303a649e21f87b5ccd02672af1ea6954b911342ea491f351ceb7122"
bottle do
cellar :any
sha256 "178200fd8aa50d5db22c5faa4ca403652d2bf912616c34dfbc6b035a456c2fc6" => :high_sierra
sha256 "8ecc3407d188472a7f775bb44314fff40f0e3b17a83da1666f3fa306d8fffeec" => :sierra
sha256 "931236302e58c53a9728dde5cb93a896b8a39b16d1f195c85381da04ea17c407" => :el_capitan
end
def install
system "./configure", "--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make", "install"
end
test do
system "#{bin}/djpeg", test_fixtures("test.jpg")
end
end