<commit_before>require 'formula'

class Libslax < Formula
  homepage 'https://code.google.com/p/libslax/'
  url 'http://libslax.googlecode.com/files/libslax-0.14.8.tar.gz'
  sha1 '86447eb486044008aa54bd3f3af491da8dc0fda7'

  depends_on 'libtool'  => :build

  # Need newer versions of these libraries
  if MacOS.version <= :lion
    depends_on 'libxml2'
    depends_on 'libxslt'
    depends_on 'curl'
  end

  def install
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make install"
  end
end<commit_msg>libslax 0.16.0<commit_after>require 'formula'

class Libslax < Formula
  homepage 'http://www.libslax.org/'
  url 'https://github.com/Juniper/libslax/archive/libslax-0.16.0.tar.gz'
  sha1 'c89b46387050fe8b201f8a0f1676e504aac1b80e'

  head 'https://github.com/Juniper/libslax.git'

  depends_on 'automake' => :build
  depends_on 'libtool'  => :build

  # Need newer versions of these libraries
  if MacOS.version <= :lion
    depends_on 'libxml2'
    depends_on 'libxslt'
    depends_on 'curl'
  end

  def install
    system "sh ./bin/setup.sh"
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make install"
  end
end
{'fraction_non_alphanumeric': 0.12767644726407612, 'fraction_numerical': 0.052339413164155434, 'mean_word_length': 3.057877813504823, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 6, 'https://': 3, 'lorem ipsum': 0, 'www.': 1, 'xml': 2}, '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': '4395074', 'n_tokens_mistral': 499, 'n_tokens_neox': 461, 'n_words': 90}