aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDrew Hess2010-10-22 15:59:50 -0700
committerAdam Vandenberg2010-10-22 18:50:35 -0700
commitdd1037d8601e05da19d4625d93cedcec76bb7693 (patch)
treed4316f51985b31f64d2d0236e18fc86217f0d813 /Library
parent786a5b5c0b711f90ab3ab24cbd41df4db885098a (diff)
downloadhomebrew-dd1037d8601e05da19d4625d93cedcec76bb7693.tar.bz2
New formula: djvulibre.
This formula does not install the DjVu QuickLook or Spotlight plugins. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/djvulibre.rb24
1 files changed, 24 insertions, 0 deletions
diff --git a/Library/Formula/djvulibre.rb b/Library/Formula/djvulibre.rb
new file mode 100644
index 000000000..7ffdb0777
--- /dev/null
+++ b/Library/Formula/djvulibre.rb
@@ -0,0 +1,24 @@
+require 'formula'
+
+# Note that this formula installs neither the DjVu Spotlight importer,
+# nor the DjVu QuickLook plugin.
+
+class Djvulibre <Formula
+ url 'http://downloads.sourceforge.net/project/djvu/DjVuLibre/3.5.23/djvulibre-3.5.23.tar.gz'
+ homepage 'http://djvu.sourceforge.net/'
+ sha1 'b19f6b461515a52eb1048aec81e04dfd836d681f'
+
+ depends_on 'jpeg'
+ depends_on 'libtiff'
+
+ def install
+ # Don't build X11 GUI apps.
+ system "./configure", "--disable-debug",
+ "--prefix=#{prefix}",
+ "--enable-desktopfiles=no",
+ "--with-x=NO",
+ "--with-qt=NO"
+ system "make"
+ system "make install"
+ end
+end