<commit_before>require "formula"

class Cadaver < Formula
  homepage "http://www.webdav.org/cadaver/"
  url "http://www.webdav.org/cadaver/cadaver-0.23.3.tar.gz"
  sha1 "4ad8ea2341b77e7dee26b46e4a8a496f1a2962cd"
  revision 1

  bottle do
    sha1 "1c498d877d44df201f6335847f010a7c8b5833f4" => :mavericks
    sha1 "b9b21eeaf23ce5dbed36b7d799f233636163216f" => :lion
  end

  depends_on "pkg-config" => :build
  depends_on "gettext"
  depends_on "readline"
  depends_on "neon"
  depends_on "openssl"

  # enable build with the latest neon
  patch :DATA

  def install
    system "./configure", "--prefix=#{prefix}",
                          "--with-ssl=openssl",
                          "--with-libs=#{Formula["openssl"].opt_prefix}",
                          "--with-neon=#{Formula["neon"].opt_prefix}"
    system "make", "-C", "lib/intl"<commit_msg>cadaver: update 0.23.3_1 bottle.<commit_after>require "formula"

class Cadaver < Formula
  homepage "http://www.webdav.org/cadaver/"
  url "http://www.webdav.org/cadaver/cadaver-0.23.3.tar.gz"
  sha1 "4ad8ea2341b77e7dee26b46e4a8a496f1a2962cd"
  revision 1

  bottle do
    revision 1
    sha1 "0829bec6edbe68f27cac9698755b16ba0781bb88" => :mavericks
    sha1 "d65e0588474bd227e077fab167e6bbdf848296b5" => :mountain_lion
    sha1 "fdef244b44064695da2d0c2107bc4721ee47e613" => :lion
  end

  depends_on "pkg-config" => :build
  depends_on "gettext"
  depends_on "readline"
  depends_on "neon"
  depends_on "openssl"

  # enable build with the latest neon
  patch :DATA

  def install
    system "./configure", "--prefix=#{prefix}",
                          "--with-ssl=openssl",
                          "--with-libs=#{Formula["openssl"].opt_prefix}",
                          "--with-neon=#{Formula["neon"].opt_prefix}"
    system "make", "-C", "lib/intl"
{'fraction_non_alphanumeric': 0.13425414364640884, 'fraction_numerical': 0.10939226519337017, 'mean_word_length': 2.945533769063181, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '5869259', 'n_tokens_mistral': 806, 'n_tokens_neox': 703, 'n_words': 113}