<commit_before>require 'formula'

class Mcf5307Binutils < Formula
  homepage 'http://www.gnu.org/software/binutils/binutils.html'
  url 'http://ftpmirror.gnu.org/binutils/binutils-2.24.tar.gz'
  mirror 'http://ftp.gnu.org/gnu/binutils/binutils-2.24.tar.gz'
  sha1 '1b2bc33003f4997d38fadaa276c1f0321329ec56'

  def install
    system "./configure", "--program-prefix=mcf5307",
                          "--prefix=#{prefix}",
                          "--infodir=#{info}",
                          "--mandir=#{man}",
                          "--enable-targets=m68k-elf",
                          "--with-arch=cf",
                          "--with-cpu=5307",
                          "--enable-multilib",
                          "--disable-werror"
    system "make"
    system "make check"
    system "make install"
  end
end
<commit_msg>Numerous corrections.<commit_after>require 'formula'

class Mcf5307Binutils < Formula
  homepage 'http://www.gnu.org/software/binutils/binutils.html'
  url 'http://ftpmirror.gnu.org/binutils/binutils-2.24.tar.gz'
  mirror 'http://ftp.gnu.org/gnu/binutils/binutils-2.24.tar.gz'
  sha1 '1b2bc33003f4997d38fadaa276c1f0321329ec56'

  def install
    system "./configure", "--program-prefix=mcf5307-",
                          "--prefix=#{prefix}",
                          "--infodir=#{info}",
                          "--mandir=#{man}",
                          "--target=m68k-none-elf",
                          "--with-arch=cf",
                          "--with-cpu=5307",
                          "--enable-multilib",
                          "--disable-werror"
    system "make"
    system "make check"
    system "make install"

    # Remove files that conflict with Homebrew binutils
    rm_rf include
    rm_rf lib
    rm_rf share
  end
end

{'fraction_non_alphanumeric': 0.13983286908077994, 'fraction_numerical': 0.05236768802228412, 'mean_word_length': 1.576757532281205, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '7277620', 'n_tokens_mistral': 611, 'n_tokens_neox': 557, 'n_words': 86}