Merge branch 'erp5' into erp5-generic
[slapos.git] / stack / kvm.cfg
1 [buildout]
2 extends =
3   shacache-client.cfg
4   ../component/python-2.7/buildout.cfg
5   ../component/lxml-python/buildout.cfg
6   ../component/git/buildout.cfg
7   ../component/zlib/buildout.cfg
8   ../component/readline/buildout.cfg
9   ../component/ncurses/buildout.cfg
10   ../component/libuuid/buildout.cfg
11   ../component/noVNC/buildout.cfg
12   ../component/openssl/buildout.cfg
13   ../component/rdiff-backup/buildout.cfg
14   ../component/dcron/buildout.cfg
15   ../component/libpng/buildout.cfg
16
17 parts =
18   template
19   kvm
20   eggs
21
22 find-links +=
23   http://www.nexedi.org/static/packages/source/slapos.buildout/
24
25 versions = versions
26
27 # Use only quite well working sites.
28 allow-hosts =
29   *.nexedi.org
30   *.python.org
31   *.sourceforge.net
32   alastairs-place.net
33   dist.repoze.org
34   effbot.org
35   github.com
36   peak.telecommunity.com
37   psutil.googlecode.com
38   www.dabeaz.com
39   www.owlfish.com
40
41 [gpg-error]
42 recipe = hexagonit.recipe.cmmi
43 url = ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.10.tar.gz
44 md5sum = 7c2710ef439f82ac429b88fec88e9a4c
45
46 [gcrypt]
47 recipe = hexagonit.recipe.cmmi
48 url = ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-1.4.6.tar.gz
49 md5sum = bfd45922eefb8a24d598af77366220d4
50 configure-options =
51   --with-gpg-error-prefix=${gpg-error:location}
52 environment =
53   CPPFLAGS=-I${gpg-error:location}/include
54   LDFLAGS=-Wl,-rpath -Wl,${gpg-error:location}/lib -Wl,${gpg-error:location}/lib/libgpg-error.so.0
55
56 [gnutls]
57 # XXX-Cedric : update to latest gnutls
58 recipe = hexagonit.recipe.cmmi
59 url = ftp://ftp.gnupg.org/gcrypt/gnutls/gnutls-2.8.6.tar.bz2
60 md5sum = eb0a6d7d3cb9ac684d971c14f9f6d3ba
61 configure-options =
62   --with-libgcrypt-prefix=${gcrypt:location}
63 environment =
64   CPPFLAGS=-I${zlib:location}/include -I${readline:location}/include -I${ncurses:location}/include -I${ncurses:location}/include/ncursesw -I${gcrypt:location}/include -I${gpg-error:location}/include
65   LDFLAGS=-L${readline:location}/lib -L${ncurses:location}/lib -L${gcrypt:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib -Wl,-rpath -Wl,${readline:location}/lib -Wl,-rpath -Wl,${ncurses:location}/lib -Wl,-rpath -Wl,${gcrypt:location}/lib -Wl,-rpath -Wl,${gpg-error:location}/lib -Wl,${gcrypt:location}/lib/libgcrypt.so.11
66   PKG_CONFIG=${zlib:location}/lib/pkgconfig
67
68 [kvm]
69 recipe = hexagonit.recipe.cmmi
70 url = http://downloads.sourceforge.net/project/kvm/qemu-kvm/0.15.1/qemu-kvm-0.15.1.tar.gz
71 md5sum = 8800a7d6b3aa4a168ea7f78dc66c0320
72 configure-options =
73   --disable-sdl
74   --disable-xen
75   --enable-vnc-tls
76   --disable-vnc-sasl
77   --disable-curses
78   --disable-curl
79   --enable-kvm
80   --disable-docs
81   --enable-vnc-png
82   --disable-vnc-jpeg
83   --extra-cflags="-I${gnutls:location}/include -I${libuuid:location}/include -I${zlib:location}/include -I${libpng:location}/include"
84   --extra-ldflags="-Wl,-rpath -Wl,${glib:location}/lib -L${glib:location}/lib -Wl,-rpath -Wl,${gnutls:location}/lib -L${gnutls:location}/lib -L${gettext:location}/lib -Wl,-rpath -Wl,${gettext:location}/lib -Wl,-rpath -Wl,${libpng:location}/lib -L${libpng:location}/lib -L${libuuid:location}/lib -Wl,-rpath -Wl,${libuuid:location}/lib -L${zlib:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib -lpng -lz -lgnutls"
85   --disable-werror
86 environment =
87   PATH=${pkgconfig:location}/bin:%(PATH)s
88   PKG_CONFIG_PATH=${gnutls:location}/lib/pkgconfig:${glib:location}/lib/pkgconfig
89
90 [eggs]
91 python = python2.7
92 recipe = z3c.recipe.scripts
93 eggs =
94   ${lxml-python:egg}
95   slapos.cookbook