2010-03-11 17:39:54 +01:00
|
|
|
# Description: Event notification library
|
|
|
|
# URL: http://www.monkey.org/~provos/libevent/
|
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2019-05-26 11:45:59 +02:00
|
|
|
# Depends on: openssl
|
2010-03-11 17:39:54 +01:00
|
|
|
|
|
|
|
name=libevent
|
2019-08-02 15:45:04 +02:00
|
|
|
version=2.1.11
|
2019-08-31 10:07:46 +02:00
|
|
|
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)
|
2010-03-11 17:39:54 +01:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version-stable
|
2019-08-31 10:07:46 +02:00
|
|
|
|
|
|
|
# https://archives.seul.org/libevent/users/Aug-2019/msg00009.html
|
|
|
|
patch -p1 -R -i $SRC/warn-if-forked-from-the-event-loop.patch
|
|
|
|
|
2016-01-18 18:20:03 +01:00
|
|
|
./configure --prefix=/usr
|
2010-03-11 17:39:54 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
}
|