<commit_before>require File.expand_path("../../Abstract/abstract-php-extension", __FILE__)

class Php53Crypto < AbstractPhp53Extension
  init
  desc "Wrapper for OpenSSL Crypto Library"
  homepage "https://pecl.php.net/package/crypto"
  url "https://pecl.php.net/get/crypto-0.1.1.tgz"
  sha256 "9844e93078ac165255bdba6944abf6ec196be9964f9807df9f8f7d792a18807b"
  head "https://github.com/bukka/php-crypto.git"

  bottle do
    cellar :any_skip_relocation
    revision 1
    sha256 "7cc2580887d8007b8523583f7879a56717cab611c627441dbc65e8269dc2cdda" => :el_capitan
    sha256 "d6867c7f2505cd55d162d5744f84db39c7b1827650a4baf4550bf5332c84e066" => :yosemite
    sha256 "13d2c52fe034fdc618f4e9b9ff7c43d017bb18b47ff0fb49d602b954b00494f8" => :mavericks
  end

  def install
    Dir.chdir "crypto-#{version}" unless build.head?

    ENV.universal_binary if build.universal?

    args = []
    args << "--with-crypto"

    safe_phpize
    system "./configure", "--prefix=#{prefix}", phpconfig, *args
    system "make"
    prefix.install "modules/crypto.so"<commit_msg>php53-crypto: bottle revision to rebuild.<commit_after>require File.expand_path("../../Abstract/abstract-php-extension", __FILE__)

class Php53Crypto < AbstractPhp53Extension
  init
  desc "Wrapper for OpenSSL Crypto Library"
  homepage "https://pecl.php.net/package/crypto"
  url "https://pecl.php.net/get/crypto-0.1.1.tgz"
  sha256 "9844e93078ac165255bdba6944abf6ec196be9964f9807df9f8f7d792a18807b"
  head "https://github.com/bukka/php-crypto.git"

  bottle do
    cellar :any_skip_relocation
    rebuild 1
    sha256 "7cc2580887d8007b8523583f7879a56717cab611c627441dbc65e8269dc2cdda" => :el_capitan
    sha256 "d6867c7f2505cd55d162d5744f84db39c7b1827650a4baf4550bf5332c84e066" => :yosemite
    sha256 "13d2c52fe034fdc618f4e9b9ff7c43d017bb18b47ff0fb49d602b954b00494f8" => :mavericks
  end

  def install
    Dir.chdir "crypto-#{version}" unless build.head?

    ENV.universal_binary if build.universal?

    args = []
    args << "--with-crypto"

    safe_phpize
    system "./configure", "--prefix=#{prefix}", phpconfig, *args
    system "make"
    prefix.install "modules/crypto.so"
{'fraction_non_alphanumeric': 0.10955710955710955, 'fraction_numerical': 0.17715617715617715, 'mean_word_length': 4.574025974025974, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 6, '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': '2936209', 'n_tokens_mistral': 1062, 'n_tokens_neox': 846, 'n_words': 121}