diff options
Diffstat (limited to 'homebrew/libvirt')
-rw-r--r-- | homebrew/libvirt/.beer | 74 | ||||
-rw-r--r-- | homebrew/libvirt/.make.sh-auto | 9 | ||||
-rw-r--r-- | homebrew/libvirt/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/libvirt/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/libvirt/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/libvirt/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/libvirt/download.sh | 1 |
7 files changed, 88 insertions, 0 deletions
diff --git a/homebrew/libvirt/.beer b/homebrew/libvirt/.beer new file mode 100644 index 000000000..fc4513034 --- /dev/null +++ b/homebrew/libvirt/.beer @@ -0,0 +1,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" +}
\ No newline at end of file diff --git a/homebrew/libvirt/.make.sh-auto b/homebrew/libvirt/.make.sh-auto new file mode 100644 index 000000000..2e4e31bf3 --- /dev/null +++ b/homebrew/libvirt/.make.sh-auto @@ -0,0 +1,9 @@ +pkg:setup +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 ] +pkg:configure *args +make +make DESTDIR=${PKG_DEST} 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/" diff --git a/homebrew/libvirt/_metadata/description b/homebrew/libvirt/_metadata/description new file mode 100644 index 000000000..5f7196a65 --- /dev/null +++ b/homebrew/libvirt/_metadata/description @@ -0,0 +1 @@ +C virtualization API diff --git a/homebrew/libvirt/_metadata/homepage b/homebrew/libvirt/_metadata/homepage new file mode 100644 index 000000000..65ca3067c --- /dev/null +++ b/homebrew/libvirt/_metadata/homepage @@ -0,0 +1 @@ +https://www.libvirt.org diff --git a/homebrew/libvirt/_metadata/name b/homebrew/libvirt/_metadata/name new file mode 100644 index 000000000..fba15faf8 --- /dev/null +++ b/homebrew/libvirt/_metadata/name @@ -0,0 +1 @@ +Libvirt diff --git a/homebrew/libvirt/_metadata/version b/homebrew/libvirt/_metadata/version new file mode 100644 index 000000000..91ff57278 --- /dev/null +++ b/homebrew/libvirt/_metadata/version @@ -0,0 +1 @@ +5.2.0 diff --git a/homebrew/libvirt/download.sh b/homebrew/libvirt/download.sh new file mode 100755 index 000000000..b812cb150 --- /dev/null +++ b/homebrew/libvirt/download.sh @@ -0,0 +1 @@ +wget https://libvirt.org/sources/libvirt-5.2.0.tar.xz
\ No newline at end of file |