homebrew-core/Formula/libwebsockets.rb
Jack Nagel 1ca187f5ff libwebsockets: use git checkout
Rationale: the tarballs are timestamped so the hash changes on every
download.
2013-04-11 14:20:18 -05:00

19 lines
515 B
Ruby
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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