forked from ports/compat-32
24 lines
683 B
Plaintext
24 lines
683 B
Plaintext
# Description: Event notification library
|
|
# URL: http://www.monkey.org/~provos/libevent/
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
# Depends on: openssl-32 libevent
|
|
|
|
name=libevent-32
|
|
version=2.1.11
|
|
release=1
|
|
source=(https://github.com/libevent/libevent/releases/download/release-$version-stable/libevent-$version-stable.tar.gz
|
|
warn-if-forked-from-the-event-loop.patch)
|
|
|
|
build() {
|
|
cd libevent-$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 --libdir=/usr/lib32
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/{bin,include}
|
|
}
|