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

[libevent]
recipe = slapos.recipe.cmmi
url = http://www.monkey.org/~provos/libevent-1.4.13-stable.tar.gz
md5sum = 0b3ea18c634072d12b3c1ee734263664
shared = true
configure-options =
  --disable-static

[libevent2]
<= libevent
url = https://github.com/libevent/libevent/releases/download/release-2.1.11-stable/libevent-2.1.11-stable.tar.gz
md5sum = 7f35cfe69b82d879111ec0d7b7b1c531
environment =
  CPPFLAGS=-I${openssl:location}/include
  LDFLAGS=-L${openssl:location}/lib -Wl,-rpath=${openssl:location}/lib
