homebrew-core/Formula/minidjvu.rb
BrewTestBot 95884bae22 Formula files style updates.
Closes Homebrew/homebrew#42407.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 14:21:42 +01:00

22 lines
688 B
Ruby

class Minidjvu < Formula
desc "DjVu multipage encoder, single page encoder/decoder"
homepage "http://minidjvu.sourceforge.net/"
url "https://downloads.sourceforge.net/project/minidjvu/minidjvu/0.8/minidjvu-0.8.tar.gz"
sha256 "e9c892e0272ee4e560eaa2dbd16b40719b9797a1fa2749efeb6622f388dfb74a"
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
depends_on "djvulibre"
depends_on "libtiff"
def install
ENV.j1
# force detection of BSD mkdir
system "autoreconf", "-vfi"
system "./configure", "--prefix=#{prefix}"
system "make"
system "make", "install"
lib.install Dir["#{prefix}/*.dylib"]
end
end