<commit_before>require 'formula'

class A52dec < Formula
  homepage 'http://liba52.sourceforge.net/'
  url 'http://liba52.sourceforge.net/files/a52dec-0.7.4.tar.gz'
  sha1 '79b33bd8d89dad7436f85b9154ad35667aa37321'

  def install
    system "./configure", "--disable-debug",
                          "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--enable-shared",
                          "--mandir=#{man}"
    system "make install"
  end
end<commit_msg>a52dec 0.7.4: Fix for Linuxbrew<commit_after>require 'formula'

class A52dec < Formula
  homepage 'http://liba52.sourceforge.net/'
  url 'http://liba52.sourceforge.net/files/a52dec-0.7.4.tar.gz'
  sha1 '79b33bd8d89dad7436f85b9154ad35667aa37321'

  def install
    # Fix error ld: imdct.lo: relocation R_X86_64_32 against `.bss' can not be
    # used when making a shared object; recompile with -fPIC
    ENV.append_to_cflags "-fPIC" unless OS.mac?

    system "./configure", "--disable-debug",
                          "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--enable-shared",
                          "--mandir=#{man}"
    system "make install"
  end
end
{'fraction_non_alphanumeric': 0.13274336283185842, 'fraction_numerical': 0.07160096540627514, 'mean_word_length': 2.004830917874396, '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': '6167920', 'n_tokens_mistral': 455, 'n_tokens_neox': 396, 'n_words': 77}