| 1 |
[buildout]
|
| 2 |
parts =
|
| 3 |
gdbm
|
| 4 |
|
| 5 |
[gdbm-nochange-patch-download]
|
| 6 |
recipe = hexagonit.recipe.download
|
| 7 |
url = http://www.nexedi.org/static/patches/gdbm-Makefile.in-nochange.patch
|
| 8 |
md5sum = fafa6cae0afbf2b5afb9ef3b8e3035a4
|
| 9 |
download-only = true
|
| 10 |
filename = gdbm-Makefile.in-nochange.patch
|
| 11 |
|
| 12 |
[gdbm]
|
| 13 |
recipe = hexagonit.recipe.cmmi
|
| 14 |
url = ftp://ftp.gnu.org/gnu/gdbm/gdbm-1.8.3.tar.gz
|
| 15 |
md5sum = 1d1b1d5c0245b1c00aff92da751e9aa1
|
| 16 |
patches = ${gdbm-nochange-patch-download:location}/${gdbm-nochange-patch-download:filename}
|
| 17 |
# install as parts/gdbm/include/gdbm/*.h etc. because some softwares
|
| 18 |
# (eg. python's dbmmodule.c extension) assume the location like this.
|
| 19 |
includedir = ${buildout:parts-directory}/${:_buildout_section_name_}/include
|
| 20 |
make-targets =
|
| 21 |
install install-compat includedir=${:includedir}/gdbm && rm -f ${:includedir}/*.h && ln -sf gdbm/gdbm.h ${:includedir}/gdbm.h
|
| 22 |
# it seems that parallel build sometimes fails for gdbm.
|
| 23 |
make-options =
|
| 24 |
-j1
|