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