<commit_before>require 'formula'

class LittleCms < Formula
  homepage 'http://www.littlecms.com/'
  url 'http://downloads.sourceforge.net/project/lcms/lcms/1.19/lcms-1.19.tar.gz'
  sha1 'd5b075ccffc0068015f74f78e4bc39138bcfe2d4'

  option :universal

  depends_on :python => :optional
  depends_on 'jpeg' => :optional
  depends_on 'libtiff' => :optional

  def install
    ENV.universal_binary if build.universal?
    args = ["--disable-debug", "--prefix=#{prefix}"]
    args << "--with-python" if build.with? "python"

    system "./configure", *args
    system "make install"
  end
end
<commit_msg>little-cms: fix universal build<commit_after>require 'formula'

class LittleCms < Formula
  homepage 'http://www.littlecms.com/'
  url 'http://downloads.sourceforge.net/project/lcms/lcms/1.19/lcms-1.19.tar.gz'
  sha1 'd5b075ccffc0068015f74f78e4bc39138bcfe2d4'

  option :universal

  depends_on :python => :optional
  depends_on 'jpeg' => :optional
  depends_on 'libtiff' => :optional

  def install
    ENV.universal_binary if build.universal?
    args = %W{--disable-dependency-tracking --disable-debug --prefix=#{prefix}}
    args << "--with-python" if build.with? "python"
    args << "--without-tiff" unless build.with? "tiff"
    args << "--without-jpeg" unless build.with? "jpeg"

    system "./configure", *args
    system "make install"
  end
end

{'fraction_non_alphanumeric': 0.14591009579955785, 'fraction_numerical': 0.04421518054532056, 'mean_word_length': 3.7482517482517483, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '2185494', 'n_tokens_mistral': 529, 'n_tokens_neox': 476, 'n_words': 100}