homebrew-core/Formula/libwebsockets.rb

20 lines
515 B
Ruby
Raw Normal View History

require 'formula'
class Libwebsockets < Formula
homepage 'http://git.warmcat.com/cgi-bin/cgit/libwebsockets'
url 'git://git.warmcat.com/libwebsockets', :tag => 'v1.22-chrome26-firefox18'
version '1.22'
depends_on 'cmake' => :build
def install
system "cmake", ".", *std_cmake_args
system "make"
# The `make install` target doesnt work (FFS) so heres what I think
# should be installed:
lib.install 'lib/libwebsockets.dylib'
include.install 'lib/libwebsockets.h'
end
end