homebrew-core/Formula/xmlcatmgr.rb

31 lines
1.6 KiB
Ruby

class Xmlcatmgr < Formula
desc "Manipulate SGML and XML catalogs"
homepage "https://xmlcatmgr.sourceforge.io"
url "https://downloads.sourceforge.net/project/xmlcatmgr/xmlcatmgr/2.2/xmlcatmgr-2.2.tar.gz"
sha256 "ea1142b6aef40fbd624fc3e2130cf10cf081b5fa88e5229c92b8f515779d6fdc"
bottle do
rebuild 1
sha256 cellar: :any_skip_relocation, arm64_monterey: "919144de2d285295b51f2fd50c480a89700c746ffcb3430ee8bb8c2dd6a12338"
sha256 cellar: :any_skip_relocation, arm64_big_sur: "27cda943918a3d692517e971f92a8e855d6b93c84eaf0646baff75a9f1f16c63"
sha256 cellar: :any_skip_relocation, monterey: "c401c527f4babe7caee6af925027fb07d300961351548e9ccfed20c6be1ed6a7"
sha256 cellar: :any_skip_relocation, big_sur: "cf19153b0ce232b3fe88cd0d2288a4d94056b3092a8c64483fec2634dc821605"
sha256 cellar: :any_skip_relocation, catalina: "ae788970290574145fa3ca20e389469f1a8582c8b604a50e3e506b7ffcb9faa4"
sha256 cellar: :any_skip_relocation, mojave: "eb8b0acfdaed325cce3e6b7befb53a675f9f7f6dc8aa5d058b4ebecea2d50e53"
sha256 cellar: :any_skip_relocation, high_sierra: "bbb201365fe9f89dc036d97e7bcb05d5b299e32f2ad427266f1d73934fd03cb4"
sha256 cellar: :any_skip_relocation, x86_64_linux: "52185546f22943c4a693619db91532acbac6e555e8d747156515af72542c0c43"
end
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}"
system "make", "install"
end
test do
system "#{bin}/xmlcatmgr", "-v"
end
end