<commit_before>require 'formula'

class Libusrsctp < Formula
  homepage 'http://sctp.fh-muenster.de/sctp-user-land-stack.html'
  url 'http://sctp.fh-muenster.de/download/libusrsctp-0.9.1.tar.gz'
  sha1 'b719ddd754fd21b2bda634db20640bb9477c2a1b'

  bottle do
    cellar :any
    revision 1
    sha1 "5b540e94ed9273d09eba0e213014d2060cb27a0c" => :yosemite
    sha1 "04778d2ae6555f8916eea463e70441de02665da0" => :mavericks
    sha1 "b4c7f0a6851ce53f9d48091995bd523d4dbc7262" => :mountain_lion
  end

  head do
    url 'http://sctp-refimpl.googlecode.com/svn/trunk/KERN/usrsctp'

    depends_on :autoconf
    depends_on :automake
    depends_on :libtool
  end

  def install
    system './bootstrap' if build.head?

    system './configure', '--disable-dependency-tracking',
                          "--prefix=#{prefix}"
    system 'make'
    system 'make install'
  end
end
<commit_msg>libusrsctp: modernize autotools deps<commit_after>require 'formula'

class Libusrsctp < Formula
  homepage 'http://sctp.fh-muenster.de/sctp-user-land-stack.html'
  url 'http://sctp.fh-muenster.de/download/libusrsctp-0.9.1.tar.gz'
  sha1 'b719ddd754fd21b2bda634db20640bb9477c2a1b'

  bottle do
    cellar :any
    revision 1
    sha1 "5b540e94ed9273d09eba0e213014d2060cb27a0c" => :yosemite
    sha1 "04778d2ae6555f8916eea463e70441de02665da0" => :mavericks
    sha1 "b4c7f0a6851ce53f9d48091995bd523d4dbc7262" => :mountain_lion
  end

  head do
    url 'http://sctp-refimpl.googlecode.com/svn/trunk/KERN/usrsctp'

    depends_on "autoconf" => :build
    depends_on "automake" => :build
    depends_on "libtool" => :build
  end

  def install
    system './bootstrap' if build.head?

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

{'fraction_non_alphanumeric': 0.11348684210526316, 'fraction_numerical': 0.12171052631578948, 'mean_word_length': 3.387019230769231, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 12, 'https://': 0, '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': '7293435', 'n_tokens_mistral': 871, 'n_tokens_neox': 754, 'n_words': 116}