aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/unoconv.rb
blob: 9f60e4550dc18e1578ce13e29d1d826d8e52ab3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require "formula"

class Unoconv < Formula
  homepage "http://dag.wiee.rs/home-made/unoconv/"
  url "http://dag.wieers.com/home-made/unoconv/unoconv-0.6.tar.gz"
  sha1 "d6c3574639b9ceedcb866b84f18ba7158f25db48"
  head "https://github.com/dagwieers/unoconv.git"

  depends_on :python if MacOS.version <= :snow_leopard

  def install
    system "make", "install", "prefix=#{prefix}"
  end

  def caveats; <<-EOS.undent
    In order to use unoconv LibreOffice 3.6.0.1 or later must be installed.
    EOS
  end
end