<commit_before>require 'formula'

class Libsvg < Formula
  url 'http://cairographics.org/snapshots/libsvg-0.1.4.tar.gz'
  homepage 'http://cairographics.org/'
  md5 'ce0715e3013f78506795fba16e8455d3'

  depends_on 'libpng'
  depends_on 'jpeg'

  def install
    system "./configure", "--prefix=#{prefix}"
    system "make install"
  end
end<commit_msg>libsvg: use system libpng<commit_after>require 'formula'

class Libsvg < Formula
  url 'http://cairographics.org/snapshots/libsvg-0.1.4.tar.gz'
  homepage 'http://cairographics.org/'
  md5 'ce0715e3013f78506795fba16e8455d3'

  depends_on 'jpeg'

  def install
    ENV.x11 # for libpng
    system "./configure", "--prefix=#{prefix}"
    system "make install"
  end
end
{'fraction_non_alphanumeric': 0.13212795549374132, 'fraction_numerical': 0.07788595271210014, 'mean_word_length': 3.9655172413793105, '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': '6390525', 'n_tokens_mistral': 300, 'n_tokens_neox': 278, 'n_words': 53}