32 lines
911 B
Ruby
32 lines
911 B
Ruby
class Heimdal < Formula
|
|
desc "Free Kerberos 5 implementation"
|
|
homepage "https://www.h5l.org"
|
|
url "https://github.com/heimdal/heimdal/releases/download/heimdal-7.4.0/heimdal-7.4.0.tar.gz"
|
|
sha256 "3de14ecd36ad21c1694a13da347512b047f4010d176fe412820664cb5d1429ad"
|
|
|
|
bottle do
|
|
sha256 "a2100430e4500cb7d1419353e8ea8ba1ea4f766fcc36ff04db70275895a9d2c9" => :sierra
|
|
sha256 "b837af6df80584d06e0d9f902f90e44c2c6a765e400d9e14dd64b18baf402052" => :el_capitan
|
|
sha256 "bb674ef52b4f4bd84478efb7258b85da4c207ad40843acdb20447571421f4c40" => :yosemite
|
|
end
|
|
|
|
keg_only :provided_by_osx
|
|
|
|
depends_on "openssl"
|
|
|
|
def install
|
|
args = %W[
|
|
--disable-debug
|
|
--disable-dependency-tracking
|
|
--prefix=#{prefix}
|
|
--without-x
|
|
]
|
|
|
|
system "./configure", *args
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
assert_match "-L#{lib}", shell_output("#{bin}/krb5-config --libs")
|
|
end
|
|
end
|