<commit_before>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 doesn’t work (FFS) so here’s what I think
    # should be installed:
    lib.install 'lib/libwebsockets.dylib'
    include.install 'lib/libwebsockets.h'
  end
end<commit_msg>libwebsockets 1.23<commit_after>require 'formula'

class Libwebsockets < Formula
  homepage 'http://libwebsockets.org'
  url 'http://git.libwebsockets.org/cgi-bin/cgit/libwebsockets/snapshot/libwebsockets-1.23-chrome32-firefox24.tar.gz'
  version '1.23'
  sha1 '9dda683a342b16feb1cef183f89f9ed4474626f5'

  depends_on 'cmake' => :build

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

    # The `make install` target doesn’t work (FFS) so here’s what I think
    # should be installed:
    lib.install 'lib/libwebsockets.dylib'
    include.install 'lib/libwebsockets.h'
  end
end
{'fraction_non_alphanumeric': 0.12355555555555556, 'fraction_numerical': 0.04, 'mean_word_length': 3.93859649122807, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7297618', 'n_tokens_mistral': 455, 'n_tokens_neox': 410, 'n_words': 86}