homebrew-core/Formula/djvu2pdf.rb

20 lines
401 B
Ruby
Raw Normal View History

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'
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