homebrew-core/Formula/jpeginfo.rb

23 lines
546 B
Ruby
Raw Normal View History

require 'formula'
class Jpeginfo < Formula
homepage 'http://www.kokkonen.net/tjko/projects.html'
url 'http://www.kokkonen.net/tjko/src/jpeginfo-1.6.1.tar.gz'
sha1 '8fd998c3090908d1b100ed38d5d7fc2600e5742b'
depends_on 'jpeg'
def install
# See https://github.com/mxcl/homebrew/issues/13393
ENV.deparallelize
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
def test
system "#{bin}/jpeginfo", "--help"
end
end