mirror of
https://git.yoctoproject.org/poky
synced 2026-04-28 15:32:27 +02:00
-Upgrade from libevent_2.1.8.bb to libevent_2.1.10.bb. -libevent/0001-test-fix-32bit-linux-regress.patch Removed since this is included in 2.1.10. (From OE-Core rev: 40ea686112e4def38363edb4a5b1cec2692e34da) Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
47 lines
1.2 KiB
BlitzBasic
47 lines
1.2 KiB
BlitzBasic
SUMMARY = "An asynchronous event notification library"
|
|
HOMEPAGE = "http://libevent.org/"
|
|
BUGTRACKER = "https://github.com/libevent/libevent/issues"
|
|
SECTION = "libs"
|
|
|
|
LICENSE = "BSD & MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=17f20574c0b154d12236d5fbe964f549"
|
|
|
|
SRC_URI = " \
|
|
https://github.com/libevent/libevent/releases/download/release-${PV}-stable/${BP}-stable.tar.gz \
|
|
file://Makefile-missing-test-dir.patch \
|
|
file://run-ptest \
|
|
"
|
|
|
|
SRC_URI[md5sum] = "999caf86f52943af2363bc8077f00167"
|
|
SRC_URI[sha256sum] = "e864af41a336bb11dab1a23f32993afe963c1f69618bd9292b89ecf6904845b0"
|
|
|
|
UPSTREAM_CHECK_URI = "http://libevent.org/"
|
|
|
|
S = "${WORKDIR}/${BPN}-${PV}-stable"
|
|
|
|
PACKAGECONFIG ??= ""
|
|
PACKAGECONFIG[openssl] = "--enable-openssl,--disable-openssl,openssl"
|
|
|
|
inherit autotools
|
|
|
|
# Needed for Debian packaging
|
|
LEAD_SONAME = "libevent-2.1.so"
|
|
|
|
inherit ptest multilib_header
|
|
|
|
DEPENDS = "zlib"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|
|
|
|
do_install_append() {
|
|
oe_multilib_header event2/event-config.h
|
|
}
|
|
|
|
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
|
|
}
|