software.cfg 1.78 KB
Newer Older
iv's avatar
iv committed
1 2 3 4
[buildout]
extends =
# basic needs
  ../../stack/slapos.cfg
5 6 7 8
  ../../component/automake/buildout.cfg
  ../../component/libexpat/buildout.cfg
  ../../component/libaio/buildout.cfg
  ../../component/boost-lib/buildout.cfg
iv's avatar
iv committed
9 10 11 12

parts +=
  slapos-cookbook
  template-instance
13 14
  git
  curl
15
  thin-provisioning-tools
iv's avatar
iv committed
16

17 18
versions = versions

iv's avatar
iv committed
19
[versions]
20
slapos.recipe.template = 4.2
iv's avatar
iv committed
21

22

iv's avatar
iv committed
23
[template-instance]
24
# jinja2 render instance.cfg file in the buildout directory
iv's avatar
iv committed
25 26 27 28
recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/instance.cfg
rendered = ${buildout:directory}/instance.cfg
mode = 0644
29
md5sum = 73f964d73367dbf280d904e408a7f9b8
iv's avatar
iv committed
30
context =
31 32 33 34
  key software_dir            :_profile_base_location_
  key instance_dir            buildout:directory
  key curl_path               curl:location
  key git_path                git:location
35
  key eggs_directory          buildout:eggs-directory
36
  key develop_eggs_directory  buildout:develop-eggs-directory
37
  key thin_provisioning_tools thin-provisioning-tools:location
38

39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
[thin-provisioning-tools]
recipe = slapos.recipe.cmmi
location = ${buildout:parts-directory}/${:_buildout_section_name_}
url = https://github.com/jthornber/thin-provisioning-tools/archive/v0.7.1.tar.gz
md5sum = 44cc03dd39a55b2f0364b330850d63fd
pre-configure = ${autoconf:location}/bin/autoconf
make-options = PREFIX=${:location}
# environment has to define CXXFLAGS and not CPPFLAGS because of the ./configure
# which has kind-of special behaviour
environment =
  PATH=${m4:location}/bin:${automake:location}/bin:${autoconf:location}/bin:%(PATH)s
  CXXFLAGS=-I${libexpat:location}/include -I${libaio:location}/include -I${boost-lib:location}/include
  LDFLAGS=-L${libexpat:location}/lib -L${libaio:location}/lib -L${boost-lib:location}/lib
dependencies =
  automake
  libexpat
  libaio
  boost-lib