diff options
| -rw-r--r-- | meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.0.bb (renamed from meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.2.1.bb) | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.2.1.bb b/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.0.bb index a7a9b5a6cd..79a8f43d79 100644 --- a/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.2.1.bb +++ b/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.0.bb | |||
| @@ -13,23 +13,16 @@ LIC_FILES_CHKSUM = " \ | |||
| 13 | 13 | ||
| 14 | SRC_URI = "git://github.com/eclipse/paho.mqtt.c;protocol=http" | 14 | SRC_URI = "git://github.com/eclipse/paho.mqtt.c;protocol=http" |
| 15 | 15 | ||
| 16 | SRCREV = "09fe0744e02f317b907e96dd5afcc02224ddbb85" | 16 | SRCREV = "9f715d0862a8e16099b5837c4e53a1bf6a6a0675" |
| 17 | 17 | ||
| 18 | DEPENDS = "openssl" | 18 | DEPENDS = "openssl" |
| 19 | 19 | ||
| 20 | S = "${WORKDIR}/git" | 20 | S = "${WORKDIR}/git" |
| 21 | 21 | ||
| 22 | TARGET_CC_ARCH += "${LDFLAGS}" | 22 | inherit cmake |
| 23 | 23 | ||
| 24 | do_install() { | 24 | do_install_append() { |
| 25 | install -d ${D}${libdir} | 25 | # paho-mqtt installes some thing that we don't want. |
| 26 | oe_libinstall -C build/output -so libpaho-mqtt3a ${D}${libdir} | 26 | rm -rf ${D}${prefix}/samples |
| 27 | oe_libinstall -C build/output -so libpaho-mqtt3as ${D}${libdir} | 27 | find ${D}${prefix} -maxdepth 1 -type f -delete |
| 28 | oe_libinstall -C build/output -so libpaho-mqtt3c ${D}${libdir} | ||
| 29 | oe_libinstall -C build/output -so libpaho-mqtt3cs ${D}${libdir} | ||
| 30 | install -d ${D}${includedir} | ||
| 31 | install -m 644 src/MQTTAsync.h ${D}${includedir} | ||
| 32 | install -m 644 src/MQTTClient.h ${D}${includedir} | ||
| 33 | install -m 644 src/MQTTClientPersistence.h ${D}${includedir} | ||
| 34 | } | 28 | } |
| 35 | |||
