Libraries/libevent: added

This commit is contained in:
2019-01-17 12:31:22 +01:00
parent aa63f7c52e
commit cb0f970631
3 changed files with 28 additions and 0 deletions

9
Libraries/libevent/build Executable file
View File

@@ -0,0 +1,9 @@
#!/usr/bin/env modbuild
pbuild::set_download_url "https://github.com/libevent/libevent/releases/download/release-$V-stable/$P-$V-stable.tar.gz"
pbuild::add_to_group 'Libraries'
pbuild::install_docfiles 'LICENSE'
pbuild::make_all

View File

@@ -0,0 +1 @@
libevent/2.1.8 unstable

View File

@@ -0,0 +1,18 @@
#%Module1.0
module-whatis "an event notification library"
module-url "http://libevent.org/"
module-license "Open source, see $PREFIX/share/doc/libevent/LICENSE"
module-maintainer "Achim Gsell <achim.gsell@psi.ch>"
module-help "
The libevent API provides a mechanism to execute a callback function when
a specific event occurs on a file descriptor or after a timeout has been
reached. Furthermore, libevent also support callbacks due to signals or
regular timeouts.
libevent is meant to replace the event loop found in event driven network
servers. An application just needs to call event_dispatch() and then add or
remove events dynamically without having to change the event loop.
"