<commit_before>require 'formula'

class Yajl < Formula
  homepage 'http://lloyd.github.com/yajl/'
  url 'https://github.com/lloyd/yajl/tarball/2.0.4'
  sha256 'c19b9691cf15f22e74d903cd06ac9ba5e1e216e6a1b82bfe787c3b48a25bc118'

  # Configure uses cmake internally
  depends_on 'cmake' => :build

  def install
    ENV.deparallelize

    system "./configure", "--prefix=#{prefix}"
    system "make install"
    (include + 'yajl').install Dir['src/api/*.h']
  end
end<commit_msg>yajl: use archive download<commit_after>require 'formula'

class Yajl < Formula
  homepage 'http://lloyd.github.com/yajl/'
  url 'https://github.com/lloyd/yajl/archive/2.0.4.tar.gz'
  sha256 '0e78f516dc53ecce7dc073f9a9bb0343186b58ef29dcd1dad74e5e853b216dd5'

  # Configure uses cmake internally
  depends_on 'cmake' => :build

  def install
    ENV.deparallelize

    system "./configure", "--prefix=#{prefix}"
    system "make install"
    (include/'yajl').install Dir['src/api/*.h']
  end
end
{'fraction_non_alphanumeric': 0.13711340206185568, 'fraction_numerical': 0.088659793814433, 'mean_word_length': 4.0837696335078535, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6293679', 'n_tokens_mistral': 434, 'n_tokens_neox': 382, 'n_words': 65}