2011-12-20 21:23:06 +00:00
|
|
|
SUMMARY = "An asynchronous event notification library"
|
|
|
|
HOMEPAGE = "http://libevent.org/"
|
|
|
|
BUGTRACKER = "http://sourceforge.net/tracker/?group_id=50884&atid=461322"
|
|
|
|
SECTION = "libs"
|
|
|
|
|
|
|
|
LICENSE = "BSD"
|
2013-01-28 13:23:25 +00:00
|
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=45c5316ff684bcfe2f9f86d8b1279559"
|
2011-12-20 21:23:06 +00:00
|
|
|
|
2015-05-11 19:52:29 +00:00
|
|
|
SRC_URI = " \
|
|
|
|
${SOURCEFORGE_MIRROR}/levent/${BP}-stable.tar.gz \
|
|
|
|
file://run-ptest \
|
|
|
|
"
|
2011-12-20 21:23:06 +00:00
|
|
|
|
2015-04-04 01:11:14 +00:00
|
|
|
SRC_URI[md5sum] = "c4c56f986aa985677ca1db89630a2e11"
|
|
|
|
SRC_URI[sha256sum] = "71c2c49f0adadacfdbe6332a372c38cf9c8b7895bb73dabeaa53cdcc1d4e1fa3"
|
2011-12-20 21:23:06 +00:00
|
|
|
|
|
|
|
S = "${WORKDIR}/${BPN}-${PV}-stable"
|
|
|
|
|
2015-04-04 01:11:13 +00:00
|
|
|
PACKAGECONFIG ??= ""
|
|
|
|
PACKAGECONFIG[openssl] = "--enable-openssl,--disable-openssl,openssl"
|
2012-06-18 23:28:45 +00:00
|
|
|
|
2011-12-20 21:23:06 +00:00
|
|
|
inherit autotools
|
|
|
|
|
|
|
|
# Needed for Debian packaging
|
|
|
|
LEAD_SONAME = "libevent-2.0.so"
|
2015-05-11 19:52:29 +00:00
|
|
|
|
|
|
|
inherit ptest
|
|
|
|
|
|
|
|
DEPENDS = "zlib"
|
|
|
|
|
2015-09-01 13:47:22 +00:00
|
|
|
BBCLASSEXTEND = "native nativesdk"
|
|
|
|
|
2015-05-11 19:52:29 +00:00
|
|
|
do_install_ptest() {
|
|
|
|
install -d ${D}${PTEST_PATH}/test
|
|
|
|
for file in ${B}/test/.libs/regress ${B}/test/.libs/test*
|
|
|
|
do
|
|
|
|
install -m 0755 $file ${D}${PTEST_PATH}/test
|
|
|
|
done
|
|
|
|
}
|