aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/djvu2pdf.rb
diff options
context:
space:
mode:
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