2013-02-28 19:36:10 +00:00
|
|
|
class Gsasl < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "SASL library command-line interface"
|
2015-07-16 06:16:05 +00:00
|
|
|
homepage "https://www.gnu.org/software/gsasl/"
|
|
|
|
url "http://ftpmirror.gnu.org/gsasl/gsasl-1.8.0.tar.gz"
|
|
|
|
mirror "https://ftp.gnu.org/gsasl/gsasl-1.8.0.tar.gz"
|
|
|
|
sha256 "310262d1ded082d1ceefc52d6dad265c1decae8d84e12b5947d9b1dd193191e5"
|
|
|
|
|
2015-07-21 21:39:27 +00:00
|
|
|
depends_on "libntlm" => :optional
|
|
|
|
|
2014-05-07 07:07:25 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2015-07-19 00:06:26 +00:00
|
|
|
revision 2
|
2015-09-23 20:36:11 +00:00
|
|
|
sha256 "8dbca0c2938ab3b5077fe7ed572437a0f724e479a7f102d9c40f959b1483f09d" => :el_capitan
|
2015-07-19 00:06:26 +00:00
|
|
|
sha256 "afc44c1161ffa2ae09bee4a82c25e626562d950ae092356fba204789e4b4752e" => :yosemite
|
|
|
|
sha256 "df498ac7247b3f54bdc9720249fa4a1cee72bf8c5011d06889d8ecdebaff1aaa" => :mavericks
|
|
|
|
sha256 "5585b8bddf849b2b4b3f67da253c97556bfa526b8345006595cdefddf3385dd5" => :mountain_lion
|
2014-05-07 07:07:25 +00:00
|
|
|
end
|
|
|
|
|
2013-02-28 19:36:10 +00:00
|
|
|
def install
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--with-gssapi-impl=mit",
|
|
|
|
"--prefix=#{prefix}"
|
2015-07-16 06:16:05 +00:00
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
assert_match /#{version}/, shell_output("#{bin}/gsasl")
|
2013-02-28 19:36:10 +00:00
|
|
|
end
|
|
|
|
end
|