<commit_before>require 'formula'

class Libgphoto2 < Formula
  homepage 'http://www.gphoto.org/proj/libgphoto2/'
  url 'https://downloads.sourceforge.net/project/gphoto/libgphoto/2.5.4/libgphoto2-2.5.4.tar.bz2'
  sha1 'f9ada3e1a54a3723ecbf0bc270cdfd6da20cf90c'

  option :universal

  depends_on 'pkg-config' => :build
  depends_on :libtool => :run
  depends_on 'libusb-compat'
  depends_on 'gd'
  depends_on 'libexif' => :optional

  def install
    ENV.universal_binary if build.universal?
    system "./configure", "--disable-dependency-tracking",<commit_msg>libgphoto2: add 2.5.4 bottle.<commit_after>require 'formula'

class Libgphoto2 < Formula
  homepage 'http://www.gphoto.org/proj/libgphoto2/'
  url 'https://downloads.sourceforge.net/project/gphoto/libgphoto/2.5.4/libgphoto2-2.5.4.tar.bz2'
  sha1 'f9ada3e1a54a3723ecbf0bc270cdfd6da20cf90c'

  bottle do
    sha1 "7f76dcbb304ecf8afd5df4fb7032b48b1044f162" => :mavericks
    sha1 "f14565e700e13fe5b2bcb9568cd1f67fc1ee6a1d" => :mountain_lion
    sha1 "d6fd1dccbd5f4ab6d2b192d02325f91a3f20f1e6" => :lion
  end

  option :universal

  depends_on 'pkg-config' => :build
  depends_on :libtool => :run
  depends_on 'libusb-compat'
  depends_on 'gd'
  depends_on 'libexif' => :optional

  def install
    ENV.universal_binary if build.universal?
    system "./configure", "--disable-dependency-tracking",
{'fraction_non_alphanumeric': 0.12168141592920353, 'fraction_numerical': 0.09587020648967552, 'mean_word_length': 4.584362139917696, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 12, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1527784', 'n_tokens_mistral': 614, 'n_tokens_neox': 555, 'n_words': 82}