2014-05-01 08:10:05 +00:00
|
|
|
require "formula"
|
|
|
|
|
|
|
|
class Unoconv < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Convert between any document format supported by OpenOffice"
|
2014-05-01 08:10:05 +00:00
|
|
|
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"
|
|
|
|
|
2014-07-06 16:23:01 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "4ae0238f6c54e8b6523e41ee3cfb14df806314ec" => :mavericks
|
|
|
|
sha1 "35a5ef6df4295401ad8eec3f1c596a16c7fd5b9f" => :mountain_lion
|
|
|
|
sha1 "efb91243d063ee7e45b5687ea71ea59e31e28c0e" => :lion
|
|
|
|
end
|
|
|
|
|
2014-06-17 13:11:49 +00:00
|
|
|
depends_on :python if MacOS.version <= :snow_leopard
|
2014-05-01 08:10:05 +00:00
|
|
|
|
|
|
|
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
|