| 1 |
[manifest] |
| 2 |
name = libevent |
| 3 |
|
| 4 |
[debs] |
| 5 |
libevent-dev |
| 6 |
|
| 7 |
[homebrew] |
| 8 |
libevent |
| 9 |
|
| 10 |
[rpms] |
| 11 |
libevent-devel |
| 12 |
|
| 13 |
# Note that the CMakeLists.txt file is present only in |
| 14 |
# git repo and not in the release tarball, so take care |
| 15 |
# to use the github generated source tarball rather than |
| 16 |
# the explicitly uploaded source tarball |
| 17 |
[download] |
| 18 |
url = https://github.com/libevent/libevent/releases/download/release-2.1.12-stable/libevent-2.1.12-stable.tar.gz |
| 19 |
sha256 = 92e6de1be9ec176428fd2367677e61ceffc2ee1cb119035037a27d346b0403bb |
| 20 |
|
| 21 |
[build] |
| 22 |
builder = cmake |
| 23 |
subdir = libevent-2.1.12-stable |
| 24 |
|
| 25 |
[cmake.defines] |
| 26 |
EVENT__DISABLE_TESTS = ON |
| 27 |
EVENT__DISABLE_BENCHMARK = ON |
| 28 |
EVENT__DISABLE_SAMPLES = ON |
| 29 |
EVENT__DISABLE_REGRESS = ON |
| 30 |
|
| 31 |
[cmake.defines.shared_libs=on] |
| 32 |
EVENT__BUILD_SHARED_LIBRARIES = ON |
| 33 |
|
| 34 |
[cmake.defines.os=windows] |
| 35 |
EVENT__LIBRARY_TYPE = STATIC |
| 36 |
|
| 37 |
[dependencies.not(any(os=linux, os=freebsd))] |
| 38 |
openssl |