homebrew-core/Formula/djvu2pdf.rb
2013-01-28 21:39:47 -08:00

19 lines
401 B
Ruby

require 'formula'
class Djvu2pdf < Formula
homepage 'http://0x2a.at/s/projects/djvu2pdf'
url 'http://0x2a.at/site/projects/djvu2pdf/djvu2pdf-0.9.2.tar.gz'
sha1 'eb34c8a6381673e531fbbd21619606e20fdb1d97'
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