2015-09-12 04:29:28 +00:00
|
|
|
class Coturn < Formula
|
|
|
|
desc "Free open source implementation of TURN and STUN Server"
|
|
|
|
homepage "https://github.com/coturn/coturn"
|
2015-11-23 12:50:16 +00:00
|
|
|
url "http://turnserver.open-sys.org/downloads/v4.5.0.3/turnserver-4.5.0.3.tar.gz"
|
|
|
|
sha256 "78726712058dcabb6df670fe02a51f9b30b4d82028d4dfa4f4bb0800c5924f83"
|
2015-09-12 04:29:28 +00:00
|
|
|
|
2015-09-30 18:21:41 +00:00
|
|
|
bottle do
|
|
|
|
sha256 "a8fc588ede3007500f2f833acfe8c821fbd8ecf2aecf9281a84f4809ec3b0588" => :el_capitan
|
|
|
|
sha256 "8a11b652133c182a68d57fbd483d37b8df2767393e3fc009ca428ccbf7fa9701" => :yosemite
|
|
|
|
sha256 "50b48e42bc684d1eb9003227ebf975c1e46e76fcb8602311502a753d301726e6" => :mavericks
|
|
|
|
end
|
|
|
|
|
2015-09-12 04:29:28 +00:00
|
|
|
depends_on "libevent"
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
|
|
|
"--disable-silent-rules",
|
|
|
|
"--mandir=#{man}",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
|
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/turnadmin", "-l"
|
|
|
|
end
|
|
|
|
end
|