Blame view

software/nayuos/software.cfg 1.78 KB
iv committed
1 2 3 4
[buildout]
extends =
# basic needs
  ../../stack/slapos.cfg
Tomáš Peterka committed
5 6 7 8
  ../../component/automake/buildout.cfg
  ../../component/libexpat/buildout.cfg
  ../../component/libaio/buildout.cfg
  ../../component/boost-lib/buildout.cfg
iv committed
9 10 11 12

parts +=
  slapos-cookbook
  template-instance
Tomáš Peterka committed
13 14
  git
  curl
Tomáš Peterka committed
15
  thin-provisioning-tools
iv committed
16

Tomáš Peterka committed
17 18
versions = versions

iv committed
19
[versions]
Rafael Monnerat committed
20
slapos.recipe.template = 4.3
iv committed
21

Tomáš Peterka committed
22

iv committed
23
[template-instance]
Tomáš Peterka committed
24
# jinja2 render instance.cfg file in the buildout directory
iv committed
25 26 27 28
recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/instance.cfg
rendered = ${buildout:directory}/instance.cfg
mode = 0644
Tomáš Peterka committed
29
md5sum = 73f964d73367dbf280d904e408a7f9b8
iv committed
30
context =
Tomáš Peterka committed
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
iv committed
35
  key eggs_directory          buildout:eggs-directory
Tomáš Peterka committed
36
  key develop_eggs_directory  buildout:develop-eggs-directory
Tomáš Peterka committed
37
  key thin_provisioning_tools thin-provisioning-tools:location
Tomáš Peterka committed
38

Tomáš Peterka committed
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