[buildout]
extends =
  ../sqlite3/buildout.cfg
  ../openssl/buildout.cfg
  ../libevent/buildout.cfg
parts = coturn

[coturn]
recipe = slapos.recipe.cmmi
url = https://github.com/coturn/coturn/archive/4.5.1.1.tar.gz
md5sum = ef20628b026d666be24df056f20a86ea
environment =
  PATH=${sqlite3:location}/bin:%(PATH)s
  CPPFLAGS=-I${openssl:location}/include -I${sqlite3:location}/include -I${libevent2:location}/include
  CFLAGS=-I${libevent2:location}/include
  LDFLAGS=-L${openssl:location}/lib -Wl,-rpath -Wl,${openssl:location}/lib -L${sqlite3:location}/lib -L${libevent2:location}/lib -Wl,-rpath -Wl,${libevent2:location}/lib
