libevent2 stable port information

Package: libevent2
Version: 2.0.16
Revision: 1
Description: Event notification library, version 2
License: BSD
Maintainer: Daniel Johnson

Source: https://github.com/downloads/libevent/libevent/libevent-%v-stable.tar.gz
Source-MD5: 899efcffccdb3d5111419df76e7dc8df

Conflicts: libevent, libevent1, libevent1.4, libev
Replaces: libevent, libevent1, libevent1.4, libev

BuildDependsOnly: true
BuildDepends: fink (>= 0.24.12), system-openssl-dev
Depends: %N-shlibs (= %v-%r)

NoSetCPPFLAGS: true
NoSetLDFLAGS: true
SetCPPFLAGS: -I%p/lib/system-openssl/include
SetLDFLAGS: -L%p/lib/system-openssl/lib
UseMaxBuildJobs: true

ConfigureParams: --disable-dependency-tracking --disable-static

# Tests pass but require network access.
#InfoTest: TestScript: make check || exit 2

InstallScript: make install DESTDIR=%d

Homepage: http://libevent.org/
DescDetail: <<
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 supports callbacks due to signals or
regular timeouts.
<<
DocFiles: ChangeLog LICENSE README

SplitOff: <<
Package: %N-shlibs
Files: <<
lib/libevent_core-*.dylib
lib/libevent_extra-*.dylib
lib/libevent_openssl-*.dylib
lib/libevent_pthreads-*.dylib
lib/libevent-*.dylib
<<
Shlibs: <<
%p/lib/libevent_core-2.0.5.dylib 7.0.0 %n (>= 2.0.16-1)
%p/lib/libevent_extra-2.0.5.dylib 7.0.0 %n (>= 2.0.16-1)
%p/lib/libevent_openssl-2.0.5.dylib 7.0.0 %n (>= 2.0.16-1)
%p/lib/libevent_pthreads-2.0.5.dylib 7.0.0 %n (>= 2.0.16-1)
%p/lib/libevent-2.0.5.dylib 7.0.0 %n (>= 2.0.16-1)
<<
DocFiles: ChangeLog LICENSE README
<<