[87930] trunk/dports/sysutils
jmr at macports.org
jmr at macports.org
Mon Dec 12 18:58:00 PST 2011
Revision: 87930
http://trac.macports.org/changeset/87930
Author: jmr at macports.org
Date: 2011-12-12 18:58:00 -0800 (Mon, 12 Dec 2011)
Log Message:
-----------
New port: libvirt, a virtualisation management API and associated utils (#28161)
Added Paths:
-----------
trunk/dports/sysutils/libvirt/
trunk/dports/sysutils/libvirt/Portfile
Added: trunk/dports/sysutils/libvirt/Portfile
===================================================================
--- trunk/dports/sysutils/libvirt/Portfile (rev 0)
+++ trunk/dports/sysutils/libvirt/Portfile 2011-12-13 02:58:00 UTC (rev 87930)
@@ -0,0 +1,122 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name libvirt
+version 0.8.8
+categories sysutils
+license LGPL-2.1
+platforms darwin
+maintainers redhat.com:jclift
+
+description Libvirt - The Virtualization API
+
+long_description A toolkit to interact with the virtualization \
+ capabilities of modern hypervisors.
+
+homepage http://www.libvirt.org/
+master_sites http://www.libvirt.org/sources/
+
+checksums md5 ac9235576352b84b8cb17df7456bbdfc \
+ sha1 b80374768d7bc3234735c1221aa554c75fe79ab8 \
+ rmd160 2009761fa7cb01300d7c8c566ea8613f23289900
+
+depends_build port:pkgconfig \
+ port:xhtml1
+
+depends_lib port:curl \
+ port:gnutls \
+ port:libiconv \
+ port:libpcap \
+ port:libssh2 \
+ port:libxml2 \
+ port:readline \
+ port:yajl \
+ port:zlib
+
+configure.args --without-apparmor \
+ --without-audit \
+ --without-avahi \
+ --without-capng \
+ --without-dtrace \
+ --without-hal \
+ --with-init-script=none \
+ --without-lxc \
+ --without-macvtap \
+ --without-netcf \
+ --without-network \
+ --without-numactl \
+ --without-one \
+ --without-phyp \
+ --without-polkit \
+ --without-python \
+ --without-qemu \
+ --without-sasl \
+ --without-selinux \
+ --without-udev \
+ --without-uml \
+ --without-virtualport \
+ --without-xen \
+ --without-xenapi \
+ --without-xen-inotify \
+ --with-esx \
+ --with-libpcap \
+ --with-libvirtd \
+ --with-openvz \
+ --with-remote \
+ --with-test \
+ --with-vbox=check \
+ --with-vmware \
+ --with-xml-catalog-file=${prefix}/etc/xml/catalog \
+ --with-yajl
+
+variant avahi description {Use Avahi to advertise remote daemon} {
+ depends_lib-append port:avahi
+ configure.args-delete --without-avahi
+ configure.args-append --with-avahi
+}
+
+variant python24 conflicts python25 python26 python27 \
+ description {Compile Python 2.4 bindings} {
+ depends_lib-append port:python24
+ configure.args-delete --without-python
+ configure.args-append --with-python
+ configure.env-append PYTHON=${prefix}/bin/python2.4
+}
+
+variant python25 conflicts python24 python26 python27 \
+ description {Compile Python 2.5 bindings} {
+ depends_lib-append port:python25
+ configure.args-delete --without-python
+ configure.args-append --with-python
+ configure.env-append PYTHON=${prefix}/bin/python2.5
+}
+
+variant python26 conflicts python24 python25 python27 \
+ description {Compile Python 2.6 bindings} {
+ depends_lib-append port:python26
+ configure.args-delete --without-python
+ configure.args-append --with-python
+ configure.env-append PYTHON=${prefix}/bin/python2.6
+}
+
+variant python27 conflicts python24 python25 python26 \
+ description {Compile Python 2.7 bindings} {
+ depends_lib-append port:python27
+ configure.args-delete --without-python
+ configure.args-append --with-python
+ configure.env-append PYTHON=${prefix}/bin/python2.7
+}
+
+variant sasl description {Use Cyrus SASL for authentication} {
+ depends_lib-append port:cyrus-sasl2
+ configure.args-delete --without-sasl
+ configure.args-append --with-sasl
+}
+
+# Yajl doesn't build for universal variants
+if {[variant_isset universal]} {
+ depends_lib-delete port:yajl
+ configure.args-delete --with-yajl
+}
Property changes on: trunk/dports/sysutils/libvirt/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111212/885c33cc/attachment.html>
More information about the macports-changes
mailing list