22 lines
537 B
Ruby
22 lines
537 B
Ruby
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'
|
|
md5 '344be10d6b16ec559c5d8b7e3707241f'
|
|
|
|
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
|