<commit_before>require 'formula'

# This formula provides the libvirt daemon (libvirtd), development libraries, and the
# virsh command line tool.  This allows people to manage their virtualisation servers
# remotely, and (as this continues to be developed) manage virtualisation servers
# running on the local host

class Libvirt <Formula
  homepage 'http://www.libvirt.org'
  url 'http://justinclift.fedorapeople.org/libvirt_experimental/libvirt-0.8.4-7.tar.gz'
  md5 '2b8948e336070c94c5278ccd36495709'

  depends_on "gawk"
  depends_on "gnutls"

  def options
    [['--without-libvirtd', 'Build only the virsh client and development libraries.']]
  end

  def install
    fails_with_llvm "Undefined symbols when linking", :build => "2326"

    args = ["--prefix=#{prefix}",
            "--localstatedir=#{var}",
            "--mandir=#{man}",
            "--sysconfdir=#{etc}"]

    args << "--without-libvirtd" if ARGV.include? '--without-libvirtd'<commit_msg>Updated formula: libvirt<commit_after>require 'formula'

# This formula provides the libvirt daemon (libvirtd), development libraries, and the
# virsh command line tool.  This allows people to manage their virtualisation servers
# remotely, and (as this continues to be developed) manage virtualisation servers
# running on the local host

class Libvirt <Formula
  homepage 'http://www.libvirt.org'
  url 'http://justinclift.fedorapeople.org/libvirt_experimental/libvirt-0.8.4-7.tar.gz'
  md5 '2b8948e336070c94c5278ccd36495709'

  depends_on "gawk"
  depends_on "gnutls"

  if MACOS_VERSION < 10.6
    # Definitely needed on Leopard, but definitely not Snow Leopard.
    # Likely also needed on earlier OSX releases, though that hasn't
    # been tested yet.
    depends_on "readline"
    depends_on "libxml2"
  end

  def options
    [['--without-libvirtd', 'Build only the virsh client and development libraries.']]
  end

  def install
    fails_with_llvm "Undefined symbols when linking", :build => "2326"

    args = ["--prefix=#{prefix}",
            "--localstatedir=#{var}",
            "--mandir=#{man}",
            "--sysconfdir=#{etc}"]

    args << "--without-libvirtd" if ARGV.include? '--without-libvirtd'
{'fraction_non_alphanumeric': 0.11584249084249085, 'fraction_numerical': 0.03296703296703297, 'mean_word_length': 3.6390658174097665, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 1}, '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': '7275138', 'n_tokens_mistral': 734, 'n_tokens_neox': 684, 'n_words': 201}