[buildout]
extends =
  ../cmake/buildout.cfg
parts =
  snappy

[snappy]
recipe = slapos.recipe.cmmi
url = https://github.com/google/snappy/archive/1.1.8.tar.gz
md5sum = 70e48cba7fecf289153d009791c9977f
location = ${buildout:parts-directory}/${:_buildout_section_name_}
configure-command = ${cmake:location}/bin/cmake
configure-options =
  -DCMAKE_INSTALL_PREFIX=${:location}
  -DBUILD_SHARED_LIBS=ON
environment =
  CMAKE_PROGRAM_PATH=${cmake:location}/bin
