22 lines
630 B
Plaintext
22 lines
630 B
Plaintext
# Description: Event notification library
|
|
# URL: http://www.monkey.org/~provos/libevent/
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
# Depends on: openssl
|
|
|
|
name=libevent
|
|
version=2.1.11
|
|
release=2
|
|
source=(https://github.com/libevent/libevent/releases/download/release-$version-stable/$name-$version-stable.tar.gz
|
|
warn-if-forked-from-the-event-loop.patch)
|
|
|
|
build() {
|
|
cd $name-$version-stable
|
|
|
|
# https://archives.seul.org/libevent/users/Aug-2019/msg00009.html
|
|
patch -p1 -R -i $SRC/warn-if-forked-from-the-event-loop.patch
|
|
|
|
./configure --prefix=/usr
|
|
make
|
|
make DESTDIR=$PKG install
|
|
}
|