<commit_before>require 'formula'

class Bmon < Formula
  homepage 'http://people.suug.ch/~tgr/bmon'
  url 'http://mirrors.kernel.org/debian/pool/main/b/bmon/bmon_2.0.1.orig.tar.gz'
  mirror 'http://ftp.us.debian.org/debian/pool/main/b/bmon/bmon_2.0.1.orig.tar.gz'
  sha1 'ef6297bbd7a5f9a351e14b2b3e9f45157b136a9c'

  def install
    system "./configure", "--disable-debug",
                          "--prefix=#{prefix}",
                          "--mandir=#{man}"
    system "make" # two steps to prevent blowing up
    system "make install"
  end
end
<commit_msg>bmon 3.3<commit_after>require 'formula'

class Bmon < Formula
  homepage 'https://github.com/tgraf/bmon'

  url "https://github.com/tgraf/bmon/releases/download/v3.3/bmon-3.3.tar.gz"
  sha1 "f21d7fc70fdc140680f7ef466242d876474ed2aa"

  head do
    url "https://github.com/tgraf/bmon.git"
    depends_on "autoconf" => :build
    depends_on "automake" => :build
  end

  depends_on "confuse" => :build
  depends_on "pkg-config" => :build

  def install
    system "./autogen.sh" if build.head?
    system "./configure", "--disable-debug",
                          "--prefix=#{prefix}",
                          "--mandir=#{man}"
    system "make" # two steps to prevent blowing up
    system "make install"
  end
end

{'fraction_non_alphanumeric': 0.14964925954793454, 'fraction_numerical': 0.049103663289166016, 'mean_word_length': 2.546961325966851, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5734947', 'n_tokens_mistral': 504, 'n_tokens_neox': 474, 'n_words': 86}