2011-09-14 09:20:28 +00:00
|
|
|
class Djvu2pdf < Formula
|
2015-08-01 09:35:45 +00:00
|
|
|
desc "Small tool to convert Djvu files to PDF files"
|
2015-08-03 12:55:31 +00:00
|
|
|
homepage "http://0x2a.at/s/projects/djvu2pdf"
|
|
|
|
url "http://0x2a.at/site/projects/djvu2pdf/djvu2pdf-0.9.2.tar.gz"
|
|
|
|
sha256 "afe86237bf4412934d828dfb5d20fe9b584d584ef65b012a893ec853c1e84a6c"
|
2011-09-14 09:20:28 +00:00
|
|
|
|
2015-10-23 10:50:50 +00:00
|
|
|
bottle :unneeded
|
|
|
|
|
2015-08-03 12:55:31 +00:00
|
|
|
depends_on "djvulibre"
|
|
|
|
depends_on "ghostscript"
|
2011-09-14 09:20:28 +00:00
|
|
|
|
|
|
|
def install
|
2015-08-03 12:55:31 +00:00
|
|
|
bin.install "djvu2pdf"
|
|
|
|
man1.install "djvu2pdf.1.gz"
|
2011-09-14 09:20:28 +00:00
|
|
|
end
|
|
|
|
|
2014-02-23 21:31:41 +00:00
|
|
|
test do
|
2011-09-14 09:20:28 +00:00
|
|
|
system "#{bin}/djvu2pdf", "-h"
|
|
|
|
end
|
|
|
|
end
|