Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
New formula: libwebsockets-1.22
Browse files Browse the repository at this point in the history
Libwebsockets is the main C library implementation of the latest websockets protocol.

Refs #16221.
  • Loading branch information
mxcl authored and shelhamer committed Mar 12, 2014
1 parent 5f6b1b0 commit 2fff039
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Library/Formula/libwebsockets.rb
@@ -0,0 +1,20 @@
require 'formula'

class Libwebsockets < Formula
homepage 'http://git.warmcat.com/cgi-bin/cgit/libwebsockets'
url 'http://git.warmcat.com/cgi-bin/cgit/libwebsockets/snapshot/libwebsockets-1.22-chrome26-firefox18.tar.gz'
version '1.22'
sha1 'e1bc750cf206699a7fbafc59db82c33c49948680'

depends_on 'cmake' => :build

def install
system "cmake", ".", *std_cmake_args
system "make"

# The `make install` target doesn鈥檛 work (FFS) so here鈥檚 what I think
# should be installed:
lib.install 'lib/libwebsockets.dylib'
include.install 'lib/libwebsockets.h'
end
end

0 comments on commit 2fff039

Please sign in to comment.