2011-09-14 09:20:28 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Djvu2pdf < Formula
|
|
|
|
homepage 'http://0x2a.at/s/projects/djvu2pdf'
|
2013-01-27 22:17:25 +00:00
|
|
|
url 'http://0x2a.at/site/projects/djvu2pdf/djvu2pdf-0.9.2.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'eb34c8a6381673e531fbbd21619606e20fdb1d97'
|
2011-09-14 09:20:28 +00:00
|
|
|
|
|
|
|
depends_on 'djvulibre'
|
|
|
|
depends_on 'ghostscript'
|
|
|
|
|
|
|
|
def install
|
|
|
|
bin.install 'djvu2pdf'
|
|
|
|
man1.install 'djvu2pdf.1.gz'
|
|
|
|
end
|
|
|
|
|
|
|
|
def test
|
|
|
|
system "#{bin}/djvu2pdf", "-h"
|
|
|
|
end
|
|
|
|
end
|