<commit_before>require 'formula'

class Potrace < Formula
  homepage 'http://potrace.sourceforge.net'
  url 'http://potrace.sourceforge.net/download/potrace-1.10.tar.gz'
  sha1 'e6e8b64d85d30b4695d197a79187ac98c2b236f9'

  def install
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--mandir=#{man}"
    system "make install"
  end
end
<commit_msg>potrace: also install headers<commit_after>require 'formula'

class Potrace < Formula
  homepage 'http://potrace.sourceforge.net'
  url 'http://potrace.sourceforge.net/download/potrace-1.10.tar.gz'
  sha1 'e6e8b64d85d30b4695d197a79187ac98c2b236f9'

  def install
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--mandir=#{man}",
                          "--with-libpotrace"
    system "make install"
  end
end

{'fraction_non_alphanumeric': 0.13426423200859292, 'fraction_numerical': 0.06659505907626208, 'mean_word_length': 2.4014598540145986, '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': '892362', 'n_tokens_mistral': 350, 'n_tokens_neox': 299, 'n_words': 50}