class Shairport < Formula desc "Airtunes emulator" homepage "https://github.com/abrasive/shairport" url "https://github.com/abrasive/shairport/archive/1.1.1.tar.gz" sha256 "1b60df6d40bab874c1220d7daecd68fcff3e47bda7c6d7f91db0a5b5c43c0c72" revision 1 head "https://github.com/abrasive/shairport.git" bottle do cellar :any sha256 "af28167bdd30a30511476472429673db781b9234cd4c8225a2ed3f10b869588c" => :mojave sha256 "c819c407c218e35129dde1d00a0bb78e5cc85cf69cc0920f87f5a3f690e2cab5" => :high_sierra sha256 "f3449bbbd695f608673ecf618c55f5d41ac8edad59772888a128185b23395b7b" => :sierra end depends_on "pkg-config" => :build depends_on "openssl@1.1" def install system "./configure" system "make", "install", "PREFIX=#{prefix}" end test do system "#{bin}/shairport", "-h" end end