[buildout] extends = buildout.hash.cfg # basic needs ../../stack/slapos.cfg ../../stack/monitor/buildout.cfg ../../component/automake/buildout.cfg ../../component/libexpat/buildout.cfg ../../component/libaio/buildout.cfg ../../component/boost-lib/buildout.cfg ../../component/rsync/buildout.cfg parts += eggs slapos-cookbook template-instance git curl thin-provisioning-tools [gcc] min_version = 0 [python] # we need python3 for repo/cros_sdk command part = python3 [eggs] # name is python3 so that cros_sdk uses it automatically through "/usr/bin/env python3" recipe = zc.recipe.egg interpreter = python3 eggs = setuptools [template-instance] # jinja2 render instance.cfg file in the buildout directory recipe = slapos.recipe.template:jinja2 url = ${:_profile_base_location_}/${:filename} output = ${buildout:directory}/${:filename} context = key project_dir :_profile_base_location_ key software_dir buildout:directory key curl_path curl:location key git_path git:location key rsync_path rsync:location key eggs_directory buildout:eggs-directory key develop_eggs_directory buildout:develop-eggs-directory key thin_provisioning_tools thin-provisioning-tools:location key monitor_template monitor2-template:output [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