<commit_before>require 'formula'

class Bigloo <Formula
  url 'ftp://ftp-sop.inria.fr/indes/fp/Bigloo/bigloo3.4a-3.tar.gz'
  version '3.4a-3'
  homepage 'http://www-sop.inria.fr/indes/fp/Bigloo/'
  md5 '1e6589bdf1c974fe2b992457bb3ce321'

  # libgmp seems to be required for 32-bit srfi 27 only, but include anyway
  depends_on 'gmp'

  def install
    args = [ "--disable-debug", "--disable-dependency-tracking",
             "--prefix=#{prefix}",
             "--mandir=#{man}/man1",
             "--infodir=#{info}",
             "--customgc=yes",
             "--os-macosx" ]

    # SRFI 27 is 32-bit only
    args << "--disable-srfi27" if snow_leopard_64?

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

    # Install the other manpages too
    manpages = %w( bgldepend bglmake bglpp bgltags bglafile bgljfile bglmco bglprof )
    manpages.each {|m| man1.install "manuals/#{m}.man" => "#{m}.1"}
  end
end<commit_msg>bigloo - fix audit warning<commit_after>require 'formula'

class Bigloo <Formula
  url 'ftp://ftp-sop.inria.fr/indes/fp/Bigloo/bigloo3.4a-3.tar.gz'
  version '3.4a-3'
  homepage 'http://www-sop.inria.fr/indes/fp/Bigloo/'
  md5 '1e6589bdf1c974fe2b992457bb3ce321'

  # libgmp seems to be required for 32-bit srfi 27 only, but include anyway
  depends_on 'gmp'

  def install
    args = [ "--disable-debug", "--disable-dependency-tracking",
             "--prefix=#{prefix}",
             "--mandir=#{man1}", # This is correct for this brew
             "--infodir=#{info}",
             "--customgc=yes",
             "--os-macosx" ]

    # SRFI 27 is 32-bit only
    args << "--disable-srfi27" if snow_leopard_64?

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

    # Install the other manpages too
    manpages = %w( bgldepend bglmake bglpp bgltags bglafile bgljfile bglmco bglprof )
    manpages.each {|m| man1.install "manuals/#{m}.man" => "#{m}.1"}
  end
end
{'fraction_non_alphanumeric': 0.15095311695002575, 'fraction_numerical': 0.04327666151468315, 'mean_word_length': 2.596296296296296, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '4465231', 'n_tokens_mistral': 782, 'n_tokens_neox': 712, 'n_words': 162}