<commit_before>require "formula"

class LSmash < Formula
  homepage "http://l-smash.github.io/l-smash/"
  url "https://github.com/l-smash/l-smash.git", :tag => "v1.11.8", :shallow => false
  head "https://github.com/l-smash/l-smash.git"

  bottle do
    cellar :any
    sha1 "1adaf173e775c8a8391f0aa86b022a983842889e" => :mavericks
    sha1 "891f49e1d5589fb705eb52e89e7656df259feb2c" => :mountain_lion
    sha1 "ca37cd43d1a0abcd702a3bb0316ba7ae2af8bd63" => :lion
  end

  def install
    args = ["--prefix=#{prefix}", "--enable-shared"]

    # For getting version information correctly in the configure
    buildpath.install_symlink cached_download/".git"

    system "./configure", *args
    system "make", "install"
  end

  test do
    system "#{bin}/boxdumper", "-v"
    system "#{bin}/muxer", "-v"
    system "#{bin}/remuxer", "-v"
    system "#{bin}/timelineeditor", "-v"<commit_msg>l-smash 1.11.15<commit_after>require "formula"

class LSmash < Formula
  homepage "http://l-smash.github.io/l-smash/"
  url "https://github.com/l-smash/l-smash.git", :tag => "v1.11.15", :shallow => false
  head "https://github.com/l-smash/l-smash.git"

  bottle do
    cellar :any
    sha1 "1adaf173e775c8a8391f0aa86b022a983842889e" => :mavericks
    sha1 "891f49e1d5589fb705eb52e89e7656df259feb2c" => :mountain_lion
    sha1 "ca37cd43d1a0abcd702a3bb0316ba7ae2af8bd63" => :lion
  end

  def install
    args = ["--prefix=#{prefix}", "--enable-shared"]

    # For getting version information correctly in the configure
    buildpath.install_symlink cached_download/".git"

    system "./configure", *args
    system "make", "install"
  end

  test do
    system "#{bin}/boxdumper", "-v"
    system "#{bin}/muxer", "-v"
    system "#{bin}/remuxer", "-v"
    system "#{bin}/timelineeditor", "-v"
{'fraction_non_alphanumeric': 0.16002245929253228, 'fraction_numerical': 0.09096013475575519, 'mean_word_length': 3.6285714285714286, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, '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': '892354', 'n_tokens_mistral': 783, 'n_tokens_neox': 694, 'n_words': 130}