<commit_before>require 'formula'

class Bitlbee <Formula
  url 'http://get.bitlbee.org/src/bitlbee-1.2.8.tar.gz'
  homepage 'http://www.bitlbee.org/'
  md5 'e1fbbd9d96ec7c2377b1b286689c1b83'

  depends_on 'glib'
  depends_on 'gnutls'

  def install
    # By default Homebrew will set ENV['LD'] to the same as ENV['CC'] which
    # defaults to /usr/bin/cc (see Library/Homebrew/extend/ENV.rb:39) However
    # this will break as bitlbee uses one of those odd and rare Makefiles that
    # can't handle the linker being 'cc' and must be 'ld' (don't ask me some C
    # magician will know).
    ENV['LD'] = '/usr/bin/ld'

    # Homebrew should handle the stripping.
    # Should we use --config=/usr/local/var/lib/bitlbee/ ?
    system "./configure", "--prefix=#{prefix}",
                          "--debug=0", "--strip=0",
                          "--ssl=gnutls",
                          "--pidfile=#{var}/bitlbee/run/bitlbee.pid",
                          "--config=#{var}/bitlbee/lib/",
                          "--ipsocket=#{var}/bitlbee/run/bitlbee.sock"
    # This build depends on make running first.
    system "make"
    system "make install"
    # This build has an extra step.
    system "make install-etc"

    (var+"bitlbee").mkpath
    (var+"bitlbee/run").mkpath
    (var+"bitlbee/lib").mkpath
  end
end
<commit_msg>Updated bitlebee to 3.0 from 1.2.8<commit_after>require 'formula'

class Bitlbee <Formula
  url 'http://get.bitlbee.org/src/bitlbee-3.0.tar.gz'
  homepage 'http://www.bitlbee.org/'
  md5 '455fc8070d758c2bb3442ef4c709ad69'

  depends_on 'glib'
  depends_on 'gnutls'

  def install
    # By default Homebrew will set ENV['LD'] to the same as ENV['CC'] which
    # defaults to /usr/bin/cc (see Library/Homebrew/extend/ENV.rb:39) However
    # this will break as bitlbee uses one of those odd and rare Makefiles that
    # can't handle the linker being 'cc' and must be 'ld' (don't ask me some C
    # magician will know).
    ENV['LD'] = '/usr/bin/ld'

    # Homebrew should handle the stripping.
    # Should we use --config=/usr/local/var/lib/bitlbee/ ?
    system "./configure", "--prefix=#{prefix}",
                          "--debug=0", "--strip=0",
                          "--ssl=gnutls",
                          "--pidfile=#{var}/bitlbee/run/bitlbee.pid",
                          "--config=#{var}/bitlbee/lib/",
                          "--ipsocket=#{var}/bitlbee/run/bitlbee.sock"
    # This build depends on make running first.
    system "make"
    system "make install"
    # This build has an extra step.
    system "make install-etc"

    (var+"bitlbee").mkpath
    (var+"bitlbee/run").mkpath
    (var+"bitlbee/lib").mkpath
  end
end

{'fraction_non_alphanumeric': 0.14152700186219738, 'fraction_numerical': 0.0223463687150838, 'mean_word_length': 2.2283653846153846, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '3172080', 'n_tokens_mistral': 948, 'n_tokens_neox': 907, 'n_words': 231}