libvirt 1.2.0
Closes Homebrew/homebrew#25295. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
e3878b53c2
commit
756e8c6e03
1 changed files with 2 additions and 12 deletions
|
@ -2,8 +2,8 @@ require 'formula'
|
||||||
|
|
||||||
class Libvirt < Formula
|
class Libvirt < Formula
|
||||||
homepage 'http://www.libvirt.org'
|
homepage 'http://www.libvirt.org'
|
||||||
url 'http://libvirt.org/sources/libvirt-1.1.4.tar.gz'
|
url 'http://libvirt.org/sources/libvirt-1.2.0.tar.gz'
|
||||||
sha256 '5910f5cf607a50c606d959e6b1e5d6e67966b7aa7324982afd7f85d9c24bd98f'
|
sha256 'a8e578ae7861db2ac5f454073293d2ef3229fd3f6c4f9029101763244db22ddd'
|
||||||
|
|
||||||
option 'without-libvirtd', 'Build only the virsh client and development libraries'
|
option 'without-libvirtd', 'Build only the virsh client and development libraries'
|
||||||
|
|
||||||
|
@ -11,7 +11,6 @@ class Libvirt < Formula
|
||||||
depends_on 'gnutls'
|
depends_on 'gnutls'
|
||||||
depends_on 'libgcrypt'
|
depends_on 'libgcrypt'
|
||||||
depends_on 'yajl'
|
depends_on 'yajl'
|
||||||
depends_on :python => :recommended
|
|
||||||
|
|
||||||
if MacOS.version <= :leopard
|
if MacOS.version <= :leopard
|
||||||
# Definitely needed on Leopard, but not on Snow Leopard.
|
# Definitely needed on Leopard, but not on Snow Leopard.
|
||||||
|
@ -39,7 +38,6 @@ class Libvirt < Formula
|
||||||
"--without-qemu"]
|
"--without-qemu"]
|
||||||
|
|
||||||
args << "--without-libvirtd" if build.without? 'libvirtd'
|
args << "--without-libvirtd" if build.without? 'libvirtd'
|
||||||
args << "--without-python" if build.without? 'python'
|
|
||||||
|
|
||||||
system "./configure", *args
|
system "./configure", *args
|
||||||
|
|
||||||
|
@ -61,12 +59,4 @@ class Libvirt < Formula
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
test do
|
|
||||||
python do
|
|
||||||
# Testing to import the mod because that is a .so file where linking
|
|
||||||
# can break.
|
|
||||||
system python, '-c', "import libvirtmod"
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue