2010-10-22 22:59:50 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Djvulibre < Formula
|
2010-10-22 22:59:50 +00:00
|
|
|
homepage 'http://djvu.sourceforge.net/'
|
2012-03-11 03:48:23 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/djvu/DjVuLibre/3.5.24/djvulibre-3.5.24.tar.gz'
|
2011-03-20 14:59:40 +00:00
|
|
|
sha1 '075d1d4a333a2fe74e4c9240d853be016e27e983'
|
2010-10-22 22:59:50 +00:00
|
|
|
|
|
|
|
depends_on 'jpeg'
|
|
|
|
depends_on 'libtiff'
|
|
|
|
|
|
|
|
def install
|
2012-03-11 03:48:23 +00:00
|
|
|
# Don't build X11 GUI apps, Spotlight Importer or QuickLook plugin
|
2010-10-22 22:59:50 +00:00
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--enable-desktopfiles=no",
|
|
|
|
"--with-x=NO",
|
|
|
|
"--with-qt=NO"
|
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|