# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
github.setup libevent libevent 1.4.15-stable release-
version [lindex [split ${version} -] 0]
description asynchronous event library
long_description 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. libevent is meant to replace the \
asynchronous event loop found in event driven \
network servers. An application just needs to call \
event_dispatch() and can then add or remove events \
dynamically without having to change the event loop.
homepage http://libevent.org
checksums rmd160 5813137c24a6581fb530858e6c45ce48c6a9edbe \
sha256 92fa504d8f275b7aaceab87f65f0e039c08b1e511acda04cf3822a6e534ab879
move ${worksrcpath}/configure.in ${worksrcpath}/configure.ac
patchfiles patch-test__test.sh
patchfiles-append patch-sierra-kqueue.diff
autoreconf.cmd ./autogen.sh
depends_build port:autoconf \
configure.args --program-suffix=-1.4 \
--includedir=${prefix}/include/${name} \
--libdir=${prefix}/lib/${name}
livecheck.url ${homepage}
livecheck.version ${version}
livecheck.regex libevent-(1(?:\\.\\d+)*)-stable