homebrew-core/Formula/jbig2dec.rb

18 lines
449 B
Ruby
Raw Normal View History

require 'formula'
class Jbig2dec < Formula
homepage 'http://jbig2dec.sourceforge.net'
url 'http://ghostscript.com/~giles/jbig2/jbig2dec/jbig2dec-0.11.tar.gz'
sha1 '349cd765616db7aac1f4dd1d45957d1da65ea925'
def install
system './configure', '--disable-debug', '--disable-dependency-tracking',
"--prefix=#{prefix}"
system 'make install'
end
def test
system "#{bin}/jbig2dec", '--version'
end
end