20 lines
567 B
Ruby
20 lines
567 B
Ruby
class Jpeginfo < Formula
|
|
desc "Prints information and tests integrity of JPEG/JFIF files"
|
|
homepage "http://www.kokkonen.net/tjko/projects.html"
|
|
url "https://www.kokkonen.net/tjko/src/jpeginfo-1.6.1.tar.gz"
|
|
sha256 "629e31cf1da0fa1efe4a7cc54c67123a68f5024f3d8e864a30457aeaed1d7653"
|
|
|
|
depends_on "jpeg"
|
|
|
|
def install
|
|
ENV.deparallelize
|
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}"
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/jpeginfo", "--help"
|
|
end
|
|
end
|