<commit_before>require 'formula'

class Libcouchbase < Formula
  homepage 'http://couchbase.com/communities/c'
  url 'http://packages.couchbase.com/clients/c/libcouchbase-2.4.1.tar.gz'
  sha1 '08de7dc4199549857abe3443f3680f203ca6e0b5'

  bottle do
    sha1 "404761e3088259cd6819c4a39b8777241042800e" => :mavericks
    sha1 "3bb41c024108b989d6cc57e42a42de8db643c70d" => :mountain_lion
    sha1 "9bc84fc8a8db04ae3b59061107faacd53bd05282" => :lion
  end

  option :universal
  option 'with-libev-plugin', 'Build libev IO plugin (will pull libev dependency)'
  option 'without-libevent-plugin', 'Do not build libevent plugin (will remove libevent dependency)'

  depends_on 'libev' if build.with?('libev-plugin')
  depends_on 'libevent' if build.with?('libevent-plugin')
  depends_on 'openssl'

  def install
    args = [
      "--disable-debug",
      "--disable-dependency-tracking",
      "--prefix=#{prefix}",
      "--disable-examples",<commit_msg>libcouchbase 2.4.2<commit_after>require 'formula'

class Libcouchbase < Formula
  homepage 'http://couchbase.com/communities/c'
  url 'http://packages.couchbase.com/clients/c/libcouchbase-2.4.2.tar.gz'
  sha1 '671ec846d69cb1c703c20c055c4f2daa91ae6a2e'

  bottle do
    sha1 "404761e3088259cd6819c4a39b8777241042800e" => :mavericks
    sha1 "3bb41c024108b989d6cc57e42a42de8db643c70d" => :mountain_lion
    sha1 "9bc84fc8a8db04ae3b59061107faacd53bd05282" => :lion
  end

  option :universal
  option 'with-libev-plugin', 'Build libev IO plugin (will pull libev dependency)'
  option 'without-libevent-plugin', 'Do not build libevent plugin (will remove libevent dependency)'

  depends_on 'libev' if build.with?('libev-plugin')
  depends_on 'libevent' if build.with?('libevent-plugin')
  depends_on 'openssl'

  def install
    args = [
      "--disable-debug",
      "--disable-dependency-tracking",
      "--prefix=#{prefix}",
      "--disable-examples",
{'fraction_non_alphanumeric': 0.12191276931161324, 'fraction_numerical': 0.12033631108775618, 'mean_word_length': 4.409090909090909, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '6576208', 'n_tokens_mistral': 841, 'n_tokens_neox': 714, 'n_words': 126}