homebrew-core/Formula/libwebsockets.rb

19 lines
498 B
Ruby
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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