<commit_before>require 'formula'

class Dzen2 < Formula
  url 'http://sites.google.com/site/gotmor/dzen2-0.8.5.tar.gz'
  homepage 'http://sites.google.com/site/gotmor/dzen'
  md5 '5978620c2124c8a8ad52d7f17ce94fd7'

  depends_on :x11

  def install
    ENV.append 'LDFLAGS', '-lX11 -lXinerama -lXpm'
    ENV.append_to_cflags '-DVERSION=\"${VERSION}\" -DDZEN_XINERAMA -DDZEN_XPM'

    inreplace 'config.mk' do |s|
      s.change_make_var! "PREFIX", prefix
      s.change_make_var! "CC", ENV.cc
      s.change_make_var! "CFLAGS", ENV.cflags
      s.change_make_var! "LDFLAGS", ENV.ldflags
    end

    system "make install"
  end
end
<commit_msg>dzen2: use sha1 rather than md5.<commit_after>require 'formula'

class Dzen2 < Formula
  url 'http://sites.google.com/site/gotmor/dzen2-0.8.5.tar.gz'
  homepage 'http://sites.google.com/site/gotmor/dzen'
  sha1 '9216163e86e02b2a75de1dfec1954b1058a829e4'

  depends_on :x11

  def install
    ENV.append 'LDFLAGS', '-lX11 -lXinerama -lXpm'
    ENV.append_to_cflags '-DVERSION=\"${VERSION}\" -DDZEN_XINERAMA -DDZEN_XPM'

    inreplace 'config.mk' do |s|
      s.change_make_var! "PREFIX", prefix
      s.change_make_var! "CC", ENV.cc
      s.change_make_var! "CFLAGS", ENV.cflags
      s.change_make_var! "LDFLAGS", ENV.ldflags
    end

    system "make install"
  end
end

{'fraction_non_alphanumeric': 0.1339421613394216, 'fraction_numerical': 0.05403348554033485, 'mean_word_length': 3.4276094276094278, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '5685281', 'n_tokens_mistral': 593, 'n_tokens_neox': 549, 'n_words': 97}