homebrew-core/Formula/libwebsockets.rb
2015-09-23 22:08:34 +01:00

25 lines
926 B
Ruby

class Libwebsockets < Formula
desc "C websockets server library"
homepage "http://libwebsockets.org"
url "http://git.libwebsockets.org/cgi-bin/cgit/libwebsockets/snapshot/libwebsockets-1.4-chrome43-firefox-36.tar.gz"
version "1.4"
sha256 "e11492477e582ef0b1a6ea2f18d81a9619b449170a3a5c43f32a9468461a9798"
head "git://git.libwebsockets.org/libwebsockets"
depends_on "openssl"
bottle do
sha256 "c5e9fa776e0a00d3219ce4597c844e9396742fffe86dee2949d721c8845b2595" => :el_capitan
sha256 "3dff3a837b8204b09b49d16bc9f08eddf8730253772b18117b2ca08b3ecb47c1" => :yosemite
sha256 "b95d36361c26bf1ef29032981462a581d461cc5abcd2698a4490c2677148ecb2" => :mavericks
sha256 "60f191872c2c470fbd5716109df094bf82dad51fa9c4f76a5debcd45a11bf280" => :mountain_lion
end
depends_on "cmake" => :build
def install
system "cmake", ".", *std_cmake_args
system "make"
system "make", "install"
end
end