[buildout]

parts = 
  boinc-instance
  template
  boinc-application
  template_wu
  template_result
  template_input
  slapos-cookbook
  instance-egg

extends =
  ../../stack/boinc/buildout.cfg

develop =
  /srv/slapgrid/slappart19/srv//runner/project/slapos.github

#Generate All instances templates
[boinc-instance]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/boinc-app.cfg
output = ${buildout:directory}/template-app.cfg
mode = 0644
md5sum = ecec6192ac5b361e326cb2f1bd5f97dc

[template]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
output = ${buildout:directory}/template.cfg
mode = 0644
md5sum = d097ddeeee5d89881d097efe6165caf6

#Download Boinc Application Binary and configure project
[boinc-application]
recipe = hexagonit.recipe.download
url = ${boinc:location}/libexec/examples/upper_case
download-only = true
filename = upper_case
#Application configuration
app-name = upper_case
version = 1.0
exec-extension = 
#Please read Boinc platform before update platform value: http://boinc.berkeley.edu/trac/wiki/BoincPlatforms
platform = x86_64-pc-linux-gnu
#Work Unit: wu-name without blanc space: wu-number number of work unit
wu-name = simpletest
wu-number = 1

[template_result]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/templates/template_result
download-only = true
filename = template_result
#md5sum = 

[template_wu]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/templates/template_wu
download-only = true
filename = template_wu
#md5sum = 

[template_input]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/input/input_file
download-only = true
filename = input_file
#md5sum =