[manifest]
name = libevent
[debs]
libevent-dev
[homebrew]
libevent
[rpms]
libevent-devel
[pps]
libevent
# Note that the CMakeLists.txt file is present only in
# git repo and not in the release tarball, so take care
# to use the github generated source tarball rather than
# the explicitly uploaded source tarball
[download]
url = https://github.com/libevent/libevent/releases/download/release-2.1.12-stable/libevent-2.1.12-stable.tar.gz
sha256 = 92e6de1be9ec176428fd2367677e61ceffc2ee1cb119035037a27d346b0403bb
[build]
builder = cmake
subdir = libevent-2.1.12-stable
[cmake.defines]
EVENT__DISABLE_TESTS = ON
EVENT__DISABLE_BENCHMARK = ON
EVENT__DISABLE_SAMPLES = ON
EVENT__DISABLE_REGRESS = ON
[cmake.defines.shared_libs=on]
EVENT__BUILD_SHARED_LIBRARIES = ON
[cmake.defines.os=windows]
EVENT__LIBRARY_TYPE = STATIC
[dependencies.not(any(os=linux, os=freebsd))]
openssl