The libev package is a full-featured, high-performant library containing an event loop loosely modelled after libevent.
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.