blob: 58c263c4d3e48047cb8afdb897285881962ba329 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "An asynchronous event notification library"
2HOMEPAGE = "http://libevent.org/"
3BUGTRACKER = "http://sourceforge.net/tracker/?group_id=50884&atid=461322"
4SECTION = "libs"
5
6LICENSE = "BSD"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=45c5316ff684bcfe2f9f86d8b1279559"
8
9SRC_URI = " \
10 ${SOURCEFORGE_MIRROR}/levent/${BP}-stable.tar.gz \
11 file://run-ptest \
12"
13
14SRC_URI[md5sum] = "c4c56f986aa985677ca1db89630a2e11"
15SRC_URI[sha256sum] = "71c2c49f0adadacfdbe6332a372c38cf9c8b7895bb73dabeaa53cdcc1d4e1fa3"
16
17S = "${WORKDIR}/${BPN}-${PV}-stable"
18
19PACKAGECONFIG ??= ""
20PACKAGECONFIG[openssl] = "--enable-openssl,--disable-openssl,openssl"
21
22inherit autotools
23
24# Needed for Debian packaging
25LEAD_SONAME = "libevent-2.0.so"
26
27inherit ptest
28
29DEPENDS = "zlib"
30
31BBCLASSEXTEND = "native nativesdk"
32
33do_install_ptest() {
34 install -d ${D}${PTEST_PATH}/test
35 for file in ${B}/test/.libs/regress ${B}/test/.libs/test*
36 do
37 install -m 0755 $file ${D}${PTEST_PATH}/test
38 done
39}