<commit_before>require 'formula'

class Poco < Formula
  homepage 'http://pocoproject.org/'
  url 'http://downloads.sourceforge.net/project/poco/sources/poco-1.4.3/poco-1.4.3p1-all.tar.gz'
  sha1 '893b26bdd2adee36d489ce1412bf67d5035f5b47'

  def install
    arch = Hardware.is_64_bit? ? 'Darwin64': 'Darwin'

    system "./configure", "--disable-debug", "--disable-dependency-tracking",
                          "--config=#{arch}",
                          "--omit=Data/MySQL,Data/ODBC",
                          "--prefix=#{prefix}"
    system "make"
    system "make install"
  end
end<commit_msg>poco: do not compile tests or samples<commit_after>require 'formula'

class Poco < Formula
  homepage 'http://pocoproject.org/'
  url 'http://downloads.sourceforge.net/project/poco/sources/poco-1.4.3/poco-1.4.3p1-all.tar.gz'
  sha1 '893b26bdd2adee36d489ce1412bf67d5035f5b47'

  def install
    arch = Hardware.is_64_bit? ? 'Darwin64': 'Darwin'

    system "./configure", "--disable-debug", "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--config=#{arch}",
                          "--omit=Data/MySQL,Data/ODBC",
                          "--no-samples",
                          "--no-tests"
    system "make"
    system "make install"
  end
end
{'fraction_non_alphanumeric': 0.15190839694656488, 'fraction_numerical': 0.0549618320610687, 'mean_word_length': 2.070257611241218, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1624850', 'n_tokens_mistral': 485, 'n_tokens_neox': 436, 'n_words': 69}