diff options
Diffstat (limited to 'meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.8.bb')
| -rw-r--r-- | meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.8.bb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.8.bb b/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.8.bb new file mode 100644 index 0000000000..f9b503a2cd --- /dev/null +++ b/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.8.bb | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | SUMMARY = "Paho MQTT - C libraries for the MQTT and MQTT-SN protocols" | ||
| 2 | DESCRIPTION = "Client implementation of open and standard messaging protocols for Machine-to-Machine (M2M) and Internet of Things (IoT)." | ||
| 3 | HOMEPAGE = "http://www.eclipse.org/paho/" | ||
| 4 | SECTION = "console/network" | ||
| 5 | LICENSE = "EPL-2.0 | EDL-1.0" | ||
| 6 | |||
| 7 | LIC_FILES_CHKSUM = " \ | ||
| 8 | file://edl-v10;md5=3adfcc70f5aeb7a44f3f9b495aa1fbf3 \ | ||
| 9 | file://epl-v20;md5=d9fc0efef5228704e7f5b37f27192723 \ | ||
| 10 | file://notice.html;md5=943f861069889acecebf51dfa24478e2 \ | ||
| 11 | file://about.html;md5=e5662cbb5f8fd5c9faac526e4077898e \ | ||
| 12 | " | ||
| 13 | |||
| 14 | SRC_URI = "git://github.com/eclipse/paho.mqtt.c;protocol=http" | ||
| 15 | |||
| 16 | SRCREV = "317fb008e1541838d1c29076d2bc5c3e4b6c4f53" | ||
| 17 | |||
| 18 | DEPENDS = "openssl" | ||
| 19 | |||
| 20 | S = "${WORKDIR}/git" | ||
| 21 | |||
| 22 | inherit cmake | ||
| 23 | |||
| 24 | do_configure_prepend() { | ||
| 25 | sed -i s:\ lib/cmake:\ ${baselib}/cmake:g ${S}/src/CMakeLists.txt | ||
| 26 | } | ||
| 27 | |||
| 28 | do_install_append() { | ||
| 29 | # paho-mqtt installes some thing that we don't want. | ||
| 30 | rm -rf ${D}${prefix}/samples | ||
| 31 | find ${D}${prefix} -maxdepth 1 -type f -delete | ||
| 32 | } | ||
| 33 | |||
| 34 | EXTRA_OECMAKE = "-DPAHO_WITH_SSL=ON" | ||
