2011-09-28 04:25:25 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Jbig2dec < Formula
|
|
|
|
homepage 'http://jbig2dec.sourceforge.net'
|
2014-02-27 14:19:55 +00:00
|
|
|
url 'https://downloads.sourceforge.net/project/jbig2dec/jbig2dec/0.11/jbig2dec-0.11.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '349cd765616db7aac1f4dd1d45957d1da65ea925'
|
2011-09-28 04:25:25 +00:00
|
|
|
|
2014-02-24 15:49:34 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "e00cb60ee3f381b625c0c9c6225102c1261fb1a0" => :mavericks
|
|
|
|
sha1 "a9a442415f9dc5f61d6e487abe5dd1344f1483aa" => :mountain_lion
|
|
|
|
sha1 "cbb4dfe055be243427210d03304c20760fb00bd7" => :lion
|
|
|
|
end
|
|
|
|
|
2011-09-28 04:25:25 +00:00
|
|
|
def install
|
2013-03-25 18:19:35 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
|
|
|
system "make install"
|
2011-09-28 04:25:25 +00:00
|
|
|
end
|
|
|
|
|
2013-03-25 18:20:35 +00:00
|
|
|
test do
|
|
|
|
system "#{bin}/jbig2dec", "--version"
|
2011-09-28 04:25:25 +00:00
|
|
|
end
|
|
|
|
end
|