blob: 4ec1c040922359d790dc67c28fc000d0eacd2439 [file] [log] [blame]
Brad Bishop34ae6002019-04-08 15:21:03 -04001DESCRIPTION = "High-level C binding for 0MQ"
2HOMEPAGE = "http://czmq.zeromq.org/"
3LICENSE = "MPL-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=9741c346eef56131163e13b9db1241b3"
5DEPENDS = "zeromq"
6
7SRC_URI = "https://github.com/zeromq/czmq/releases/download/v${PV}/czmq-${PV}.tar.gz"
8
9SRC_URI[md5sum] = "7e09997db6ac3b25e8ed104053040722"
10SRC_URI[sha256sum] = "cfab29c2b3cc8a845749758a51e1dd5f5160c1ef57e2a41ea96e4c2dcc8feceb"
11
12inherit cmake
13
14PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-staticdev ${PN} ${PN}-dbg"
15
16FILES_${PN} = "${bindir}/*"
17FILES_lib${BPN} = "${libdir}/*.so.*"
18FILES_lib${BPN}-dev = "${libdir}/*.so ${libdir}/pkgconfig ${includedir} ${datadir}/cmake"
19FILES_lib${BPN}-staticdev = "${libdir}/lib*.a"
20
21RDEPENDS_lib${BPN}-dev = "zeromq-dev"
22
23PACKAGECONFIG ??= "lz4 uuid curl ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
24PACKAGECONFIG[lz4] = ",-DCMAKE_DISABLE_FIND_PACKAGE_lz4=TRUE,lz4"
25PACKAGECONFIG[uuid] = ",-DCMAKE_DISABLE_FIND_PACKAGE_uuid=TRUE,util-linux"
26PACKAGECONFIG[curl] = ",-DCMAKE_DISABLE_FIND_PACKAGE_libcurl=TRUE,curl"
27PACKAGECONFIG[systemd] = ",-DCMAKE_DISABLE_FIND_PACKAGE_systemd=TRUE,systemd"
28
29BBCLASSEXTEND = "nativesdk"
30