<commit_before>class Atkmm < Formula
  desc "Official C++ interface for the ATK accessibility toolkit library"
  homepage "http://www.gtkmm.org"
  url "https://download.gnome.org/sources/atkmm/2.24/atkmm-2.24.2.tar.xz"
  sha256 "ff95385759e2af23828d4056356f25376cfabc41e690ac1df055371537e458bd"

  bottle do
    cellar :any
    sha256 "38abbc871f0e8bab30364ba10133e8f01d4c0df9bf13154b1526ec4737098a0d" => :el_capitan
    sha256 "34ffe201cbc5279b4fae9aca48473bd0bd22c3c4119121217e1fb2ef8ab5084f" => :yosemite
    sha256 "b381482617551d2afe3ab2f5f6c7c2158d79802e046073ed87fb743b58ec583d" => :mavericks
  end

  depends_on "pkg-config" => :build
  depends_on "atk"
  depends_on "glibmm"

  needs :cxx11

  def install
    ENV.cxx11
    system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
    system "make", "install"
  end

  test do
    (testpath/"test.cpp").write <<-EOS.undent
      #include <atkmm/init.h>
<commit_msg>atkmm: update 2.24.2 bottle.<commit_after>class Atkmm < Formula
  desc "Official C++ interface for the ATK accessibility toolkit library"
  homepage "http://www.gtkmm.org"
  url "https://download.gnome.org/sources/atkmm/2.24/atkmm-2.24.2.tar.xz"
  sha256 "ff95385759e2af23828d4056356f25376cfabc41e690ac1df055371537e458bd"

  bottle do
    cellar :any
    sha256 "70c5c9652b337efe41f26d61480dad331095a6ded8cae26bc8dc0066c06adfb5" => :el_capitan
    sha256 "a7ddfcacea2a645a939c0eb7b5d2c026d9f9af9ba3e579ee66df28fbe6339879" => :yosemite
    sha256 "a39942b931ea636033cd6018ddbe25d050dbcdda5ef80f0c9d9cc81a7d9636d4" => :mavericks
  end

  depends_on "pkg-config" => :build
  depends_on "atk"
  depends_on "glibmm"

  needs :cxx11

  def install
    ENV.cxx11
    system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
    system "make", "install"
  end

  test do
    (testpath/"test.cpp").write <<-EOS.undent
      #include <atkmm/init.h>

{'fraction_non_alphanumeric': 0.11046817464492373, 'fraction_numerical': 0.19200420831141504, 'mean_word_length': 4.545189504373178, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, 'https://': 2, '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': '6780210', 'n_tokens_mistral': 1012, 'n_tokens_neox': 816, 'n_words': 121}