<commit_before>class Protobuf < Formula
  desc     "Protocol Buffers C++ API"
  homepage "https://developers.google.com/protocol-buffers/"
  url      "https://github.com/google/protobuf/archive/v3.3.0.tar.gz"
  version  "3.3.0"
  sha256   "94c414775f275d876e5e0e4a276527d155ab2d0da45eed6b7734301c330be36e"

  needs :cxx11
  option "with-brew-gcc5", "Use Linuxbrew gcc5"

  option "with-java", "Build the Java Protocol Buffers runtime library"
  # option "with-brew-java", "Use Linuxbrew Java JDK"
  # option "with-brew-maven", "Use Linuxbrew Apache Maven"
  option "with-test", "Run build-time check"

  depends_on "autoconf" => :build
  depends_on "automake" => :build
  depends_on "libtool" => :build
  depends_on "curl" => :build
  depends_on "make" => :build
  if build.with? "brew-gcc5"
    depends_on "gcc5" => :build
  end
  depends_on "unzip" => :build

  # if build.with? "java"
  #   option "with-brew-java", "Use Linuxbrew Java jdk"
  # end

  def install
    ENV.cxx11
    system "./autogen.sh"
    system "./configure", "--disable-debug", "--disable-dependency-tracking",<commit_msg>Minor mods in protobuf formula<commit_after>class Protobuf < Formula
  desc     "Protocol Buffers C++ API"
  homepage "https://developers.google.com/protocol-buffers/"

  url      "https://github.com/google/protobuf/archive/v3.3.0.tar.gz"
  version  "3.3.0"
  sha256   "94c414775f275d876e5e0e4a276527d155ab2d0da45eed6b7734301c330be36e"

  needs :cxx11
  option "with-brew-gcc5", "Use Linuxbrew gcc5"

  option "with-java", "Build the Java Protocol Buffers runtime library"
  # option "with-brew-java", "Use Linuxbrew Java JDK"
  # option "with-brew-maven", "Use Linuxbrew Apache Maven"
  option "with-test", "Run build-time check"

  depends_on "autoconf" => :build
  depends_on "automake" => :build
  depends_on "libtool" => :build
  depends_on "curl" => :build
  depends_on "make" => :build
  if build.with? "brew-gcc5"
    depends_on "gcc5" => :build
  end
  depends_on "unzip" => :build

  # if build.with? "java"
  #   option "with-brew-java", "Use Linuxbrew Java jdk"
  # end

  def install
    ENV.cxx11
    system "./autogen.sh"
    system "./configure", "--disable-debug", "--disable-dependency-tracking",
{'fraction_non_alphanumeric': 0.13846153846153847, 'fraction_numerical': 0.05429864253393665, 'mean_word_length': 3.684322033898305, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 17, 'https://': 4, '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': '4849581', 'n_tokens_mistral': 883, 'n_tokens_neox': 813, 'n_words': 189}