23 lines
688 B
Ruby
23 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
|