homebrew-core/Formula/gsasl.rb

29 lines
1.1 KiB
Ruby

class Gsasl < Formula
desc "SASL library command-line interface"
homepage "https://www.gnu.org/software/gsasl/"
url "https://ftp.gnu.org/gnu/gsasl/gsasl-1.10.0.tar.gz"
mirror "https://ftpmirror.gnu.org/gsasl/gsasl-1.10.0.tar.gz"
sha256 "85bcbd8ee6095ade7870263a28ebcb8832f541ea7393975494926015c07568d3"
license "GPL-3.0-or-later"
bottle do
sha256 cellar: :any, arm64_big_sur: "29fe198c3ae4c00a487b94cb8e711cb1c293c3a28bd0fb21f6f56e18cf1c1e5e"
sha256 cellar: :any, big_sur: "42ef3c24427817c75c74804f31cd0d039a9900c8da5f96dbf9ab7b76e2563168"
sha256 cellar: :any, catalina: "6f7aa6d0a2276a8d3434f2c16cfd7f60d85fbb4204194dcf6a678b7bb8c4e0f2"
sha256 cellar: :any, mojave: "f9518412c5a6f631a78ef1ed3ed8989914446f2be1bad0de786ad82dc4c190e1"
end
depends_on "libgcrypt"
def install
system "./configure", "--disable-dependency-tracking",
"--with-gssapi-impl=mit",
"--prefix=#{prefix}"
system "make", "install"
end
test do
assert_match version.to_s, shell_output("#{bin}/gsasl")
end
end