2012-04-27 16:54:11 +00:00
|
|
|
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'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '8fd998c3090908d1b100ed38d5d7fc2600e5742b'
|
2012-04-27 16:54:11 +00:00
|
|
|
|
|
|
|
depends_on 'jpeg'
|
|
|
|
|
|
|
|
def install
|
2012-07-16 14:26:54 +00:00
|
|
|
# See https://github.com/mxcl/homebrew/issues/13393
|
|
|
|
ENV.deparallelize
|
|
|
|
|
2012-04-27 16:54:11 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
|
|
|
|
def test
|
2012-05-15 21:36:45 +00:00
|
|
|
system "#{bin}/jpeginfo", "--help"
|
2012-04-27 16:54:11 +00:00
|
|
|
end
|
|
|
|
end
|