avs_mtk_voice/meta/meta-mediatek-aud/recipes-connectivity/mosquitto/mosquitto_1.5.5.bb

39 lines
1.5 KiB
BlitzBasic
Raw Normal View History

2022-05-13 08:02:31 +00:00
SUMMARY = "Open source MQTT v3.1/3.1.1 implemention"
DESCRIPTION = "Mosquitto is an open source (Eclipse licensed) message broker that implements the MQ Telemetry Transport protocol version 3.1 and 3.1.1. MQTT provides a lightweight method of carrying out messaging using a publish/subscribe model. "
HOMEPAGE = "http://mosquitto.org/"
SECTION = "console/network"
LICENSE = "EPL-1.0 | EDL-1.0"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=62ddc846179e908dc0c8efec4a42ef20 \
file://edl-v10;md5=c09f121939f063aeb5235972be8c722c \
file://epl-v10;md5=8d383c379e91d20ba18a52c3e7d3a979 \
file://notice.html;md5=a00d6f9ab542be7babc2d8b80d5d2a4c \
"
DEPENDS = "openssl"
SRC_URI = "http://mosquitto.org/files/source/mosquitto-${PV}.tar.gz \
"
SRC_URI[md5sum] = "a17dffc6f63b2a4ab2eb5c51139e60e9"
SRC_URI[sha256sum] = "fcdb47e340864c545146681af7253399cc292e41775afd76400fda5b0d23d668"
inherit cmake
BBCLASSEXTEND = "native nativesdk"
EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=MinSizeRel -DWITH_TLS=ON -DWITH_TLS_PSK=OFF \
-DWITH_EC=ON -DWITH_SOCKS=ON -DWITH_SRV=ON -DWITH_THREADING=ON -DWITH_WEBSOCKETS=OFF"
do_install() {
oe_runmake 'DESTDIR=${D}' install
mv ${D}/usr/lib ${D}${libdir}
rm -rf ${D}${libdir}/pkgconfig
rm -rf ${D}/etc/mosquitto
}
PACKAGES =+ "lib${BPN} lib${BPN}-dev"
FILES_lib${BPN} = "${libdir}/libmosquitto*.so.* \
${sbindir}/mosquitto"
FILES_lib${BPN}-dev = "${includedir} ${libdir}/libmosquitto*.so.*"