aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity/zeromq/czmq_4.2.1.bb
diff options
context:
space:
mode:
authorzangrc <zangrc.fnst@cn.fujitsu.com>2021-01-23 04:48:06 +0800
committerKhem Raj <raj.khem@gmail.com>2021-01-25 14:34:06 -0800
commit8c6f854c5d3329be0162d0bc3cd6a3d429dbf7df (patch)
tree4f5ee17c7f4d10200dc6d887a30e0563e69e3cf6 /meta-oe/recipes-connectivity/zeromq/czmq_4.2.1.bb
parent25d8d65eb537b949aa42d1388fecbc22ba059b33 (diff)
downloadmeta-openembedded-contrib-8c6f854c5d3329be0162d0bc3cd6a3d429dbf7df.tar.gz
meta-openembedded-contrib-8c6f854c5d3329be0162d0bc3cd6a3d429dbf7df.tar.bz2
meta-openembedded-contrib-8c6f854c5d3329be0162d0bc3cd6a3d429dbf7df.zip
czmq: upgrade 4.2.0 -> 4.2.1
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-connectivity/zeromq/czmq_4.2.1.bb')
-rw-r--r--meta-oe/recipes-connectivity/zeromq/czmq_4.2.1.bb32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/zeromq/czmq_4.2.1.bb b/meta-oe/recipes-connectivity/zeromq/czmq_4.2.1.bb
new file mode 100644
index 0000000000..e742d2a1c4
--- /dev/null
+++ b/meta-oe/recipes-connectivity/zeromq/czmq_4.2.1.bb
@@ -0,0 +1,32 @@
+DESCRIPTION = "High-level C binding for 0MQ"
+HOMEPAGE = "http://czmq.zeromq.org/"
+LICENSE = "MPL-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=9741c346eef56131163e13b9db1241b3"
+DEPENDS = "zeromq"
+
+SRC_URI = "https://github.com/zeromq/czmq/releases/download/v${PV}/czmq-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "471e9ec120fc66a2fe2aae14359e3cfa"
+SRC_URI[sha256sum] = "5d720a204c2a58645d6f7643af15d563a712dad98c9d32c1ed913377daa6ac39"
+
+UPSTREAM_CHECK_URI = "https://github.com/zeromq/${BPN}/releases"
+
+inherit cmake
+
+PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-staticdev ${PN} ${PN}-dbg"
+
+FILES_${PN} = "${bindir}/*"
+FILES_lib${BPN} = "${libdir}/*.so.*"
+FILES_lib${BPN}-dev = "${libdir}/*.so ${libdir}/pkgconfig ${includedir} ${datadir}/cmake"
+FILES_lib${BPN}-staticdev = "${libdir}/lib*.a"
+
+RDEPENDS_lib${BPN}-dev = "zeromq-dev"
+
+PACKAGECONFIG ??= "lz4 uuid curl ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
+PACKAGECONFIG[lz4] = ",-DCMAKE_DISABLE_FIND_PACKAGE_lz4=TRUE,lz4"
+PACKAGECONFIG[uuid] = ",-DCMAKE_DISABLE_FIND_PACKAGE_uuid=TRUE,util-linux"
+PACKAGECONFIG[curl] = ",-DCMAKE_DISABLE_FIND_PACKAGE_libcurl=TRUE,curl"
+PACKAGECONFIG[systemd] = ",-DCMAKE_DISABLE_FIND_PACKAGE_systemd=TRUE,systemd"
+
+BBCLASSEXTEND = "nativesdk"
+