<commit_before>require 'formula'

class Libogg < Formula
  homepage 'http://www.xiph.org/ogg/'
  url 'http://downloads.xiph.org/releases/ogg/libogg-1.3.1.tar.gz'
  sha1 '270685c2a3d9dc6c98372627af99868aa4b4db53'

  head do
    url 'http://svn.xiph.org/trunk/ogg'

    depends_on :autoconf
    depends_on :automake
    depends_on :libtool
  end

  option :universal

  def install
    ENV.universal_binary if build.universal?

    system "./autogen.sh" if build.head?
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make"
    ENV.deparallelize<commit_msg>libogg: add bottle.<commit_after>require 'formula'

class Libogg < Formula
  homepage 'http://www.xiph.org/ogg/'
  url 'http://downloads.xiph.org/releases/ogg/libogg-1.3.1.tar.gz'
  sha1 '270685c2a3d9dc6c98372627af99868aa4b4db53'

  bottle do
    cellar :any
    sha1 "925af318955228698a49274ad4d8fdf159516476" => :mavericks
    sha1 "097ab6c63f37d1e5c87c1f1d537ba544dcb00690" => :mountain_lion
    sha1 "01f043b7262c73bce7bb2cb5237e90ee91462b58" => :lion
  end

  head do
    url 'http://svn.xiph.org/trunk/ogg'

    depends_on :autoconf
    depends_on :automake
    depends_on :libtool
  end

  option :universal

  def install
    ENV.universal_binary if build.universal?

    system "./autogen.sh" if build.head?
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make"
    ENV.deparallelize
{'fraction_non_alphanumeric': 0.11709286675639301, 'fraction_numerical': 0.09892328398384927, 'mean_word_length': 3.0851648351648353, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, 'https://': 0, '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': '3795484', 'n_tokens_mistral': 651, 'n_tokens_neox': 563, 'n_words': 95}