[buildout]
parts =
  libffi

[libffi]
recipe = slapos.recipe.cmmi
version = 3.0.13
url = ftp://sourceware.org/pub/libffi/libffi-${:version}.tar.gz
md5sum = 45f3b6dbc9ee7c7dfbbbc5feba571529
location = ${buildout:parts-directory}/${:_buildout_section_name_}
configure-options =
  --disable-static
# on x86_64 OpenSuse, libraries are installed under parts/libffi/lib64.
make-targets =
  install && cp -av ${:location}/lib64/* ${:location}/lib/ || true
