From cb0f97063144cc0864939bf54db67cbcdf2b1b9a Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Thu, 17 Jan 2019 12:31:22 +0100 Subject: [PATCH] Libraries/libevent: added --- Libraries/libevent/build | 9 +++++++++ Libraries/libevent/files/variants | 1 + Libraries/libevent/modulefile | 18 ++++++++++++++++++ 3 files changed, 28 insertions(+) create mode 100755 Libraries/libevent/build create mode 100644 Libraries/libevent/files/variants create mode 100644 Libraries/libevent/modulefile 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. +" +