homebrew-core/Formula/qpdf.rb
2017-09-18 18:35:47 +02:00

25 lines
790 B
Ruby

class Qpdf < Formula
desc "Tools for and transforming and inspecting PDF files"
homepage "https://qpdf.sourceforge.io/"
url "https://downloads.sourceforge.net/project/qpdf/qpdf/7.0.0/qpdf-7.0.0.tar.gz"
sha256 "fed08de14caad0fe5efd148d9eca886d812588b2cbb35d13e61993ee8eb8c65f"
bottle do
cellar :any
sha256 "c26c68ec2f09be96cda4b21ad23a6e7e6243121d8bf9ce4227545be39f8dc1e0" => :high_sierra
sha256 "20441ef157d913182f5a75a2fa40dca76b5b110b01ca64597a6bed5fe74b3797" => :sierra
sha256 "da38c81a17b35f8ee25cd6a10fe2a55d6a81cf0c158152c4e0d957e64a6ca04d" => :el_capitan
end
depends_on "jpeg"
def install
system "./configure", "--prefix=#{prefix}"
system "make"
system "make", "install"
end
test do
system "#{bin}/qpdf", "--version"
end
end