<commit_before>require 'formula'

class Libicns < Formula
  homepage 'http://icns.sourceforge.net/'
  url 'http://downloads.sourceforge.net/project/icns/libicns-0.8.1.tar.gz'
  sha256 '335f10782fc79855cf02beac4926c4bf9f800a742445afbbf7729dab384555c2'

  option :uinversal

  depends_on 'jasper'
  depends_on :libpng

  def install
    # Fix for libpng 1.5
    inreplace 'icnsutils/png2icns.c',
      'png_set_gray_1_2_4_to_8',
      'png_set_expand_gray_1_2_4_to_8'

    ENV.universal_binary if build.universal?

    system "./configure", "--disable-debug", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make install"
  end<commit_msg>libicns: fix typo<commit_after>require 'formula'

class Libicns < Formula
  homepage 'http://icns.sourceforge.net/'
  url 'http://downloads.sourceforge.net/project/icns/libicns-0.8.1.tar.gz'
  sha256 '335f10782fc79855cf02beac4926c4bf9f800a742445afbbf7729dab384555c2'

  option :universal

  depends_on 'jasper'
  depends_on :libpng

  def install
    # Fix for libpng 1.5
    inreplace 'icnsutils/png2icns.c',
      'png_set_gray_1_2_4_to_8',
      'png_set_expand_gray_1_2_4_to_8'

    ENV.universal_binary if build.universal?

    system "./configure", "--disable-debug", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make install"
  end
{'fraction_non_alphanumeric': 0.11493411420204978, 'fraction_numerical': 0.0849194729136164, 'mean_word_length': 3.423948220064725, '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': '4395068', 'n_tokens_mistral': 585, 'n_tokens_neox': 511, 'n_words': 79}