The libev package is a full-featured, high-performant library containing an event loop loosely modelled after libevent.
Download (HTTP): http://dist.schmorp.de/libev/Attic/libev-4.33.tar.gz
Install libev by running the following commands:
./configure --prefix=/usr --disable-static && make
Now, as the root
user:
make DESTDIR=$PWD/DESTDIR install && rm -v DESTDIR/usr/include/event.h && cp -vR DESTDIR/usr/* /usr && ldconfig
--disable-static
: This
switch prevents installation of static versions of the libraries.
rm -v
DESTDIR/usr/include/event.h: This command removes a
file before installation that conflicts with
libevent. If it is not removed, packages that depend on
libevent will fail to build as
they assume event.h
is provided by
libevent which would be incorrect.