homebrew-core/Formula/writerperfect.rb

36 lines
1.5 KiB
Ruby

class Writerperfect < Formula
desc "Library for importing WordPerfect documents"
homepage "https://sourceforge.net/p/libwpd/wiki/writerperfect/"
url "https://downloads.sourceforge.net/project/libwpd/writerperfect/writerperfect-0.9.6/writerperfect-0.9.6.tar.xz"
sha256 "1fe162145013a9786b201cb69724b2d55ff2bf2354c3cd188fd4466e7fc324e6"
livecheck do
url :stable
regex(%r{url=.*?/writerperfect[._-]v?(\d+(?:\.\d+)+)\.t}i)
end
bottle do
rebuild 1
sha256 cellar: :any, arm64_big_sur: "00f00e38b26c51048a374d8becec3fbc1c1b1c05105710761575ae4906194920"
sha256 cellar: :any, big_sur: "434788af114e54153fe89b17ff3c0ddfd879ffd0e59ac822821ede791a33d145"
sha256 cellar: :any, catalina: "d9a391e73e78b29ced39f355c8d52fbba4198af66c578b9d41257422a969cd17"
sha256 cellar: :any, mojave: "5e8658459f44238800ff490331d50aa6a71b48115157893c78901a4441a34dd3"
sha256 cellar: :any, high_sierra: "12f30a1f15f5887da7675026656f59dd74b7fbffdf4129a2c1778578dbf4cc4a"
sha256 cellar: :any, sierra: "36981e968c146d8aeca47d96327b3f3e909a3f58ca15bed17202e93fef6e17db"
sha256 cellar: :any, el_capitan: "549f41525d1a5cf4cad493650ea0f8daae0208246f36984d6a56a4af533fc881"
end
depends_on "boost" => :build
depends_on "pkg-config" => :build
depends_on "libodfgen"
depends_on "libwpd"
depends_on "libwpg"
depends_on "libwps"
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make", "install"
end
end