<commit_before>require 'formula'

class Wv < Formula
  homepage 'http://wvware.sourceforge.net/'
  url 'http://abisource.com/downloads/wv/1.2.5/wv-1.2.5.tar.gz'
  sha1 'a196a31ca1c4083436d9414b9bf4809c0fd7c33c'

  depends_on 'glib'
  depends_on 'libgsf'
  depends_on 'libwmf'
  depends_on :libpng

  def install
    ENV.libxml2
    system "./configure", "--disable-debug", "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--mandir=#{man}"
    system "make"
    ENV.deparallelize
    system "make install"
  end
end<commit_msg>wv: depends on pkg-config<commit_after>require 'formula'

class Wv < Formula
  homepage 'http://wvware.sourceforge.net/'
  url 'http://abisource.com/downloads/wv/1.2.5/wv-1.2.5.tar.gz'
  sha1 'a196a31ca1c4083436d9414b9bf4809c0fd7c33c'

  depends_on 'pkg-config' => :build
  depends_on 'glib'
  depends_on 'libgsf'
  depends_on 'libwmf'
  depends_on :libpng

  def install
    ENV.libxml2
    system "./configure", "--disable-debug", "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--mandir=#{man}"
    system "make"
    ENV.deparallelize
    system "make install"
  end
end
{'fraction_non_alphanumeric': 0.13957307060755336, 'fraction_numerical': 0.05582922824302135, 'mean_word_length': 2.606508875739645, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7097008', 'n_tokens_mistral': 488, 'n_tokens_neox': 455, 'n_words': 77}