diff --git a/Libraries/libevent/build b/Libraries/libevent/build new file mode 100755 index 0000000..f210fd8 --- /dev/null +++ b/Libraries/libevent/build @@ -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 + diff --git a/Libraries/libevent/files/variants b/Libraries/libevent/files/variants new file mode 100644 index 0000000..9866e57 --- /dev/null +++ b/Libraries/libevent/files/variants @@ -0,0 +1 @@ +libevent/2.1.8 unstable diff --git a/Libraries/libevent/modulefile b/Libraries/libevent/modulefile new file mode 100644 index 0000000..62cd9cb --- /dev/null +++ b/Libraries/libevent/modulefile @@ -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 " + +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. +" +