Magellan Linux

Annotation of /trunk/todo/libvirt/libvirt-0.4.2-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2453 - (hide annotations) (download)
Thu Jul 9 20:03:11 2009 UTC (14 years, 11 months ago) by niro
File size: 1469 byte(s)
-moved to 'todo'
1 niro 2 # $Header: /magellan-cvs/smage/libvirt/libvirt-0.4.2-r3.smage2,v 1.1 2008/05/24 11:26:55 niro Exp $
2    
3     PNAME="libvirt"
4     PVER="0.4.2"
5     PBUILD="r3"
6    
7     PCATEGORIE="app-emulation"
8     STATE="unstable"
9    
10     DESCRIPTION="A toolkit to interact with the virtualization capabilities of recent versions of Linux (and other OSes)."
11     HOMEPAGE="http://www.libvirt.org/"
12    
13     DEPEND=">= sys-libs/ncurses-5.6
14     >= sys-libs/readline-5.2
15     >= dev-libs/libxml2-2.5
16     >= dev-libs/cyrus-sasl-2.1
17     >= app-crypt/gnutls-2.2
18     >= dev-lang/python-2.5
19     >= sys-fs/sysfsutils-2.1
20     >= sys-fs/parted-1.8"
21    
22     SDEPEND=">= sys-kernel/kernel26-sources-openvz
23     >= app-emulation/xen-hypervisor-3
24     >= app-emulation/xen-tools-3"
25    
26     SRCFILE="${PNAME}-${PVER}.tar.gz"
27     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
28    
29     sminclude mtools mbuild
30    
31     SRC_URI=(
32     http://libvirt.org/sources/${SRCFILE}
33     mirror://${PNAME}/${SRCFILE}
34     mirror://${PNAME}/${PNAME}-${PVER}-openvz-fixextras.patch
35     )
36    
37     ##
38     # Fixme: enable avahi, iscsi, lvm & qemu support
39     ##
40    
41     src_prepare()
42     {
43     munpack ${SRCFILE} || die
44     cd ${SRCDIR}
45    
46     # fixes some compile issues
47     # see: http://www.mail-archive.com/libvir-list@redhat.com/msg05798.html
48     mpatch ${PNAME}-${PVER}-openvz-fixextras.patch || die
49     }
50    
51     src_compile()
52     {
53     cd ${SRCDIR}
54    
55     mconfigure \
56     --disable-iptables-lokkit \
57     --with-storage-disk \
58     --with-sasl \
59     --with-openvz \
60     --with-xen \
61     --without-avahi \
62     --without-storage-iscsi \
63     --without-storage-lvm \
64     --without-qemu \
65     --without-selinux \
66     || die
67    
68     mmake || die
69     }

Properties

Name Value
svn:keywords Id