homebrew-core/Formula/xmlcatmgr.rb

28 lines
1.2 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_big_sur: "27cda943918a3d692517e971f92a8e855d6b93c84eaf0646baff75a9f1f16c63"
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"
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