[buildout]
software_home = ${:directory}
extensions +=
  mr.developer
  buildout.dumppickedversions

extends =
  ../profiles/versions-2.12.cfg
  ../profiles/software-definition.cfg
  ../software-profiles/apache.cfg
  ../software-profiles/erp5-2.12.cfg
  ../software-profiles/flare.cfg
  ../software-profiles/haproxy.cfg
  ../software-profiles/imagemagick.cfg
  ../software-profiles/libevent.cfg
  ../software-profiles/memcached.cfg
  ../software-profiles/mysql-tritonn-5.0.cfg
  ../software-profiles/ocropus.cfg
  ../software-profiles/oood.cfg
  ../software-profiles/openoffice-bin.cfg
  ../software-profiles/python-2.6.cfg
  ../software-profiles/varnish.cfg
  ../profiles/common.cfg

python = software_definition
versions = versions

# the order of the parts below is very sensitive. We don't want to keep a hard
# reference between [mysql-python] and [mysql-tritonn-5.0] otherwise instances
# could end up triggering a rebuild of mysql+senna. But this means
# [mysql-tritonn-5.0] must be built before [mysql-python] and before any parts
# that keep hard references to it, including [eggs]
parts =
  itools-build
  apache
  memcached
#  ocropus
#  haproxy
  varnish
  mysql-tritonn-5.0
  mysql-python
  products-erp5
  products-erp5-development
  openoffice-bin
  oood
  python2.6
  eggs
  products
#  omelette
  bootstrap2.6
  business-templates
  precache-eggs
  software_home

[show-requirements]
recipe = plone.recipe.command
command =
  echo "Required binary files: ${requirements:binary}"
  echo "Required header files: ${requirements:development}"
update-command = ${:command}

[software_definition]
software_home = ${buildout:software_home}
executable = ${python2.6:executable}

[software_home]
recipe = collective.recipe.template
input = ${buildout:software_home}/templates/software-home.inc.in
output = ${buildout:software_home}/instance-profiles/software-home.inc