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'
|
|
|
|
md5 '344be10d6b16ec559c5d8b7e3707241f'
|
|
|
|
|
|
|
|
depends_on 'jpeg'
|
|
|
|
|
|
|
|
def install
|
|
|
|
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
|