2011-09-28 04:25:25 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Jbig2dec < Formula
|
|
|
|
homepage 'http://jbig2dec.sourceforge.net'
|
|
|
|
url 'http://ghostscript.com/~giles/jbig2/jbig2dec/jbig2dec-0.11.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '349cd765616db7aac1f4dd1d45957d1da65ea925'
|
2011-09-28 04:25:25 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system './configure', '--disable-debug', '--disable-dependency-tracking',
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system 'make install'
|
|
|
|
end
|
|
|
|
|
|
|
|
def test
|
2012-05-05 21:50:18 +00:00
|
|
|
system "#{bin}/jbig2dec", '--version'
|
2011-09-28 04:25:25 +00:00
|
|
|
end
|
|
|
|
end
|