1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
{
"name": "Libvirt",
"description": "C virtualization API",
"url": "https://libvirt.org/sources/libvirt-5.2.0.tar.xz",
"mirror": null,
"homepage": "https://www.libvirt.org",
"depends": [
{
"depend": "pkg-config",
"build-depend": true
},
{
"depend": "gnutls",
"build-depend": false
},
{
"depend": "libgcrypt",
"build-depend": false
},
{
"depend": "yajl",
"build-depend": false
},
{
"depend": "autoconf",
"build-depend": true
},
{
"depend": "automake",
"build-depend": true
},
{
"depend": "gettext",
"build-depend": true
},
{
"depend": "libtool",
"build-depend": true
},
{
"depend": "rpcgen",
"build-depend": true
}
],
"resource": [],
"conflicts": [],
"patches": [],
"install": [
"args = %W[",
"--prefix=#{prefix}",
"--localstatedir=#{var}",
"--mandir=#{man}",
"--sysconfdir=#{etc}",
"--with-esx",
"--with-init-script=none",
"--with-remote",
"--with-test",
"--with-vbox",
"--with-vmware",
"--with-qemu",
"]",
"args << \"ac_cv_path_RPCGEN=#{Formula[\"rpcgen\"].opt_prefix}/bin/rpcgen\" if build.head?",
"system \"./autogen.sh\" if build.head?",
"system \"./configure\", *args",
"system \"make\"",
"system \"make\", \"install\"",
"inreplace \"#{etc}/sasl2/libvirt.conf\", \"/etc/\", \"#{HOMEBREW_PREFIX}/etc/\"",
"inreplace \"#{etc}/libvirt/libvirtd.conf\" do |s|",
"s.gsub! \"/etc/\", \"#{HOMEBREW_PREFIX}/etc/\"",
"s.gsub! \"/var/\", \"#{HOMEBREW_PREFIX}/var/\""
],
"version": "5.2.0",
"file": "libvirt.rb"
}
|