26 lines
951 B
Makefile
26 lines
951 B
Makefile
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Copyright (C) 2018-present Team CoreELEC (https://coreelec.org)
|
|
|
|
PKG_NAME="libevent"
|
|
PKG_VERSION="2.1.12-stable"
|
|
PKG_LICENSE="BSD"
|
|
PKG_SITE="https://libevent.org"
|
|
PKG_URL="https://github.com/libevent/libevent/releases/download/release-${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
|
PKG_DEPENDS_TARGET="toolchain openssl"
|
|
PKG_LONGDESC="The libevent API provides a mechanism to execute a callback function when a specific event occurs."
|
|
PKG_TOOLCHAIN="configure"
|
|
|
|
PKG_CONFIGURE_OPTS_TARGET="--disable-static \
|
|
--disable-libevent-regress \
|
|
--disable-samples \
|
|
--enable-openssl"
|
|
|
|
post_unpack() {
|
|
# https://github.com/libevent/libevent/issues/863
|
|
# Uninstall.cmake.in is missing from 2.1.11 release
|
|
touch ${PKG_BUILD}/cmake/Uninstall.cmake.in
|
|
}
|
|
|
|
post_makeinstall_target() {
|
|
rm -f ${INSTALL}/usr/bin/event_rpcgen.py
|
|
}
|