homebrew-core/Formula/writerperfect.rb

41 lines
2.2 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_ventura: "27bbb6aa97e00bc78675eebde04a4b08754fca44b466df2f1c8dda4180293c6c"
sha256 cellar: :any, arm64_monterey: "e5cbdebbad8e36cc2cd59a140c2eb4a8a5fd914b4ed9360fa3f1a4042cd74efe"
sha256 cellar: :any, arm64_big_sur: "00f00e38b26c51048a374d8becec3fbc1c1b1c05105710761575ae4906194920"
sha256 cellar: :any, ventura: "1411634e211f31dd5ea7d9b6dee254337eb61a68a540104310d7f5ccc1f01ee3"
sha256 cellar: :any, monterey: "bcebaf60ba257cf542554dae36548c5fb0d7b8f1ef7a7c85b55637c1e8bc28aa"
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"
sha256 cellar: :any_skip_relocation, x86_64_linux: "8ba99fa8423726871a3437205306e9cec03cc3715ed8630f1e29acd7ae74be14"
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