termux-packages/packages/libevent/build.sh

23 lines
847 B
Bash
Raw Normal View History

2018-08-22 16:43:24 +02:00
TERMUX_PKG_HOMEPAGE=https://libevent.org/
2015-06-13 01:03:31 +02:00
TERMUX_PKG_DESCRIPTION="Library that provides asynchronous event notification"
2019-01-21 13:53:58 +01:00
TERMUX_PKG_LICENSE="BSD 3-Clause"
TERMUX_PKG_MAINTAINER="@termux"
2020-07-21 21:54:24 +02:00
TERMUX_PKG_VERSION=2.1.12
2019-09-13 14:26:17 +02:00
TERMUX_PKG_SRCURL=https://github.com/libevent/libevent/archive/release-${TERMUX_PKG_VERSION}-stable.tar.gz
2020-07-21 21:54:24 +02:00
TERMUX_PKG_SHA256=7180a979aaa7000e1264da484f712d403fcf7679b1e9212c4e3d09f5c93efc24
TERMUX_PKG_BREAKS="libevent-dev"
TERMUX_PKG_REPLACES="libevent-dev"
2019-09-13 14:26:17 +02:00
TERMUX_PKG_RM_AFTER_INSTALL="bin/event_rpcgen.py"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
2017-01-28 10:42:52 +01:00
-DEVENT__BUILD_SHARED_LIBRARIES=ON
-DEVENT__DISABLE_BENCHMARK=ON
-DEVENT__DISABLE_OPENSSL=ON
-DEVENT__DISABLE_REGRESS=ON
-DEVENT__DISABLE_SAMPLES=ON
-DEVENT__DISABLE_TESTS=ON
-DEVENT__DISABLE_TESTS=ON
-DEVENT__HAVE_WAITPID_WITH_WNOWAIT=ON
-DEVENT__SIZEOF_PTHREAD_T=$((TERMUX_ARCH_BITS/8))
"