<commit_before>require 'formula'

class Libmodbus < Formula
  homepage 'http://libmodbus.org'
  url 'http://libmodbus.org/site_media/build/libmodbus-3.1.1.tar.gz'
  sha1 '3878af4a93a01001dd3bb8db90d24d5180545b91'

  bottle do
    cellar :any
    sha1 "e6087a19d38f5c2a04fd1605ac97601bec7e578a" => :mavericks
    sha1 "56380a371bb9c5970287ee1071abe162e2c82ab7" => :mountain_lion
    sha1 "efc4d4d0873b838f6124440262afd44675e44f4d" => :lion
  end

  def install
    system "./configure", "--prefix=#{prefix}"
    system "make install"
  end<commit_msg>libmodbus: add HEAD.<commit_after>require 'formula'

class Libmodbus < Formula
  homepage 'http://libmodbus.org'
  url 'http://libmodbus.org/site_media/build/libmodbus-3.1.1.tar.gz'
  sha1 '3878af4a93a01001dd3bb8db90d24d5180545b91'

  bottle do
    cellar :any
    sha1 "e6087a19d38f5c2a04fd1605ac97601bec7e578a" => :mavericks
    sha1 "56380a371bb9c5970287ee1071abe162e2c82ab7" => :mountain_lion
    sha1 "efc4d4d0873b838f6124440262afd44675e44f4d" => :lion
  end

  head do
    url 'https://github.com/stephane/libmodbus.git'

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

  def install
    if build.head?
      system "./autogen.sh"
    end
    system "./configure", "--prefix=#{prefix}"
    system "make install"
  end
{'fraction_non_alphanumeric': 0.11277072442120986, 'fraction_numerical': 0.16878267363704258, 'mean_word_length': 4.075757575757576, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 12, 'https://': 1, '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': '5258306', 'n_tokens_mistral': 676, 'n_tokens_neox': 565, 'n_words': 88}