gdbm.cfg 868 Bytes
[buildout]
extends =
  ../profiles/links.cfg

parts =
  gdbm

[gdbm-nochange-patch-download]
recipe = hexagonit.recipe.download
url = http://www.nexedi.org/static/patches/gdbm-Makefile.in-nochange.patch
md5sum = fafa6cae0afbf2b5afb9ef3b8e3035a4
download-only = true
filename = gdbm-Makefile.in-nochange.patch

[gdbm]
recipe = erp5.recipe.cmmisafe
url = ftp://ftp.gnu.org/gnu/gdbm/gdbm-1.8.3.tar.gz
md5sum = 1d1b1d5c0245b1c00aff92da751e9aa1
patches = ${gdbm-nochange-patch-download:location}/${gdbm-nochange-patch-download:filename}
# install as parts/gdbm/include/gdbm/*.h etc. because some softwares
# (eg. python's dbmmodule.c extension) assume the location like this.
includedir = ${buildout:parts-directory}/gdbm/include
make-targets =
  install install-compat includedir=${:includedir}/gdbm && rm -f ${:includedir}/*.h && ln -sf gdbm/gdbm.h ${:includedir}/gdbm.h