<commit_before>require 'formula'

class Mtr < Formula
  homepage 'http://www.bitwizard.nl/mtr/'
  url 'ftp://ftp.bitwizard.nl/mtr/mtr-0.82.tar.gz'
  sha1 'f1319de27324d85898a9df0a293a438bbaaa12b5'

  depends_on 'pkg-config' => :build
  depends_on 'gtk+' => :optional

  def install
    # We need to add this because nameserver8_compat.h has been removed in Snow Leopard
    ENV['LIBS'] = "-lresolv"
    args = %W[<commit_msg>mtr: add debian as mirror<commit_after>require 'formula'

class Mtr < Formula
  homepage 'http://www.bitwizard.nl/mtr/'
  url 'http://ftp.de.debian.org/debian/pool/main/m/mtr/mtr_0.82.orig.tar.gz'
  mirror 'ftp://ftp.bitwizard.nl/mtr/mtr-0.82.tar.gz'
  sha1 'f1319de27324d85898a9df0a293a438bbaaa12b5'

  depends_on 'pkg-config' => :build
  depends_on 'gtk+' => :optional

  def install
    # We need to add this because nameserver8_compat.h has been removed in Snow Leopard
    ENV['LIBS'] = "-lresolv"
    args = %W[
{'fraction_non_alphanumeric': 0.13694267515923567, 'fraction_numerical': 0.06687898089171974, 'mean_word_length': 3.7626262626262625, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '7078867', 'n_tokens_mistral': 423, 'n_tokens_neox': 381, 'n_words': 77}