[buildout]
parts = libdb

[libdb-hooks-download]
url = http://www.nexedi.org/static/buildout-hooks/libdb-hooks.py-r39904
md5sum = acb3bfb990a48381176c1e8f74130e30
recipe = hexagonit.recipe.download
download-only=true
filename = libdb-hooks.py

[libdb]
recipe = hexagonit.recipe.cmmi
url = http://download.oracle.com/berkeley-db/db-4.5.20.tar.gz
md5sum = b0f1c777708cb8e9d37fb47e7ed3312d
pre-configure-hook = ${libdb-hooks-download:location}/${libdb-hooks-download:filename}:pre_configure_hook
configure-command = ../dist/configure
configure-options =
  --prefix=${buildout:parts-directory}/${:_buildout_section_name_}