#Packager: George Vlahavas pkgname=libevent pkgver=2.0.19 pkgrel=2gv source=("https://github.com/downloads/libevent/libevent/libevent-$pkgver-stable.tar.gz") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=http://monkey.org/~provos/libevent/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "libevent (an event notification library)" "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." ) build() { cd $startdir/src/$pkgname-$pkgver-stable ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-static --build=$arch-slackware-linux make || return 1 make install DESTDIR=$startdir/pkg }