[buildout] extends = # basic needs ../../stack/slapos.cfg ../../component/automake/buildout.cfg ../../component/libexpat/buildout.cfg ../../component/libaio/buildout.cfg ../../component/boost-lib/buildout.cfg parts += slapos-cookbook template-instance git curl thin-provisioning-tools versions = versions [versions] slapos.recipe.template = 4.3 [template-instance] # jinja2 render instance.cfg file in the buildout directory recipe = slapos.recipe.template:jinja2 template = ${:_profile_base_location_}/instance.cfg rendered = ${buildout:directory}/instance.cfg mode = 0644 md5sum = 2833376b4b17bc0eecfb0910ced62d19 context = key software_dir :_profile_base_location_ key instance_dir buildout:directory key curl_path curl:location key git_path git:location key eggs_directory buildout:eggs-directory key develop_eggs_directory buildout:develop-eggs-directory key thin_provisioning_tools thin-provisioning-tools:location [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