aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/djvu2pdf.rb
diff options
context:
space:
mode:
authorSemyon Perepelitsa2011-09-14 13:20:28 +0400
committerAdam Vandenberg2011-09-18 10:00:34 -0700
commit591826652f1e3dc7402d4a56dbea3b4806e9587f (patch)
treedd87a7d5a93e95f927e730a317107df8ce1e444a /Library/Formula/djvu2pdf.rb
parent14d3614bc6eb4e3608c34840a1be31dcad5a5d63 (diff)
downloadhomebrew-591826652f1e3dc7402d4a56dbea3b4806e9587f.tar.bz2
djvu2pdf 0.9.2
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/djvu2pdf.rb')
-rw-r--r--Library/Formula/djvu2pdf.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/djvu2pdf.rb b/Library/Formula/djvu2pdf.rb
new file mode 100644
index 000000000..7e6d4c603
--- /dev/null
+++ b/Library/Formula/djvu2pdf.rb
@@ -0,0 +1,19 @@
+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