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 "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