<commit_before>class Alglib < Formula
  desc "Cross-platform numerical analysis library"
  homepage "http://www.alglib.net"
  url "http://www.alglib.net/translator/re/alglib-3.12.0.cpp.gpl.tgz"
  version "3.12.0"
  sha256 "8d72c36eeb8218baf580500348be4048b8392db262458211793a9e7b4809a560"

  bottle do
    cellar :any
    sha256 "71b980bb805b528934cfa45edfa5b265c36e74ddef220cc0c4664490e67e891e" => :high_sierra
    sha256 "71b980bb805b528934cfa45edfa5b265c36e74ddef220cc0c4664490e67e891e" => :sierra
    sha256 "3a4746bded5fbefb46ba03a60e3a5eb9ccc904ca6fb9cd90fcb5ac43c76c615f" => :el_capitan
  end

  depends_on "pkg-config" => :build
  depends_on "qt"

  def install
    (buildpath/"alglib.pro").write <<-EOS.undent
      TEMPLATE = subdirs
      SUBDIRS = \\
          src
    EOS

    (buildpath/"src/src.pro").write <<-EOS.undent
      isEmpty(PREFIX) {
        PREFIX = /usr/local
      }
      CONFIG      += warn_on release static_and_shared
      QT      -= gui core
      LIBS    -= -lQtGui -lQtCore
      TARGET       = alglib<commit_msg>alglib: update 3.12.0 bottle for Linuxbrew.<commit_after>class Alglib < Formula
  desc "Cross-platform numerical analysis library"
  homepage "http://www.alglib.net"
  url "http://www.alglib.net/translator/re/alglib-3.12.0.cpp.gpl.tgz"
  version "3.12.0"
  sha256 "8d72c36eeb8218baf580500348be4048b8392db262458211793a9e7b4809a560"

  bottle do
    cellar :any
    sha256 "71b980bb805b528934cfa45edfa5b265c36e74ddef220cc0c4664490e67e891e" => :high_sierra
    sha256 "71b980bb805b528934cfa45edfa5b265c36e74ddef220cc0c4664490e67e891e" => :sierra
    sha256 "3a4746bded5fbefb46ba03a60e3a5eb9ccc904ca6fb9cd90fcb5ac43c76c615f" => :el_capitan
    sha256 "4ec7a29344b6fb584f72e7df00dfea8f6e9c0cfe1b4a2f7f1c5e4947c6848771" => :x86_64_linux
  end

  depends_on "pkg-config" => :build
  depends_on "qt"

  def install
    (buildpath/"alglib.pro").write <<-EOS.undent
      TEMPLATE = subdirs
      SUBDIRS = \\
          src
    EOS

    (buildpath/"src/src.pro").write <<-EOS.undent
      isEmpty(PREFIX) {
        PREFIX = /usr/local
      }
      CONFIG      += warn_on release static_and_shared
      QT      -= gui core
      LIBS    -= -lQtGui -lQtCore
      TARGET       = alglib
{'fraction_non_alphanumeric': 0.09662921348314607, 'fraction_numerical': 0.18067415730337077, 'mean_word_length': 3.272552783109405, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 12, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '6452148', 'n_tokens_mistral': 1167, 'n_tokens_neox': 954, 'n_words': 129}