diff options
| -rw-r--r-- | meta-oe/recipes-extended/qcbor/qcbor_git.bb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/qcbor/qcbor_git.bb b/meta-oe/recipes-extended/qcbor/qcbor_git.bb new file mode 100644 index 0000000000..9c562d5a66 --- /dev/null +++ b/meta-oe/recipes-extended/qcbor/qcbor_git.bb | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | DESCRIPTION = " \ | ||
| 2 | QCBOR is a powerful, commercial-quality CBOR encoder/decoder that \ | ||
| 3 | implements these RFCs: RFC8949, RFC7049, RFC8742, RFC8943 \ | ||
| 4 | " | ||
| 5 | |||
| 6 | HOMEPAGE = "https://github.com/laurencelundblade/QCBOR" | ||
| 7 | |||
| 8 | LICENSE = "BSD-3-Clause" | ||
| 9 | LIC_FILES_CHKSUM = "file://README.md;beginline=442;endline=463;md5=b55643261d6d221dac2b7a395105af62" | ||
| 10 | |||
| 11 | SRC_URI = "git://github.com/laurencelundblade/QCBOR;protocol=https;branch=master" | ||
| 12 | |||
| 13 | SRCREV = "44754f738c6534a4304a83d4c6e97b3d3193d887" | ||
| 14 | |||
| 15 | PV = "1.2+git${SRCPV}" | ||
| 16 | |||
| 17 | S = "${WORKDIR}/git" | ||
| 18 | |||
| 19 | inherit pkgconfig | ||
| 20 | |||
| 21 | CFLAGS += " \ | ||
| 22 | -DUSEFULBUF_DISABLE_ALL_FLOAT \ | ||
| 23 | " | ||
| 24 | |||
| 25 | do_install(){ | ||
| 26 | install -d ${D}${libdir} | ||
| 27 | install -m 755 ${S}/libqcbor.a ${D}${libdir}/ | ||
| 28 | install -d ${D}${includedir}/qcbor | ||
| 29 | install -m 644 ${S}/inc/*.h ${D}${includedir} | ||
| 30 | install -m 644 ${S}/inc/qcbor/*.h ${D}${includedir}/qcbor | ||
| 31 | } | ||
| 32 | |||
