<commit_before>require 'formula'

class Jack <Formula
  url 'http://jackaudio.org/downloads/jack-audio-connection-kit-0.118.0.tar.gz'
  homepage 'http://jackaudio.org'
  md5 'd58e29a55f285d54e75134cec8e02a10'

  depends_on 'pkg-config' => :build

  def install
    system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"
    system "make install"
  end
end<commit_msg>Use Jack2 by default<commit_after>require 'formula'

class Jack <Formula
  url 'http://www.grame.fr/~letz/jack-1.9.6.tar.bz2'
  homepage 'http://jackaudio.org'
  md5 'fcd4bdb44f51d71c9e19bc1d0e887902'

  depends_on 'celt'
  depends_on 'libsamplerate'

  def patches
    # default build assumes ppc+i386, changed to i386+x86_64
    "http://gist.github.com/raw/636194/jack-1.9.6_homebrew.patch"
  end

  def install
    system "./waf configure --prefix=#{prefix}"
    system "./waf build"
    system "./waf install"
  end
end
{'fraction_non_alphanumeric': 0.14301075268817204, 'fraction_numerical': 0.07526881720430108, 'mean_word_length': 3.75, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4176457', 'n_tokens_mistral': 392, 'n_tokens_neox': 352, 'n_words': 68}