diff options
author | Stefan Wiehler <stefan.wiehler@missinglinkelectronics.com> | 2021-05-12 15:08:41 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-05-12 07:11:41 -0700 |
commit | c049a4e2cee70c023596ec031fa55f479a74afa1 (patch) | |
tree | 850392b34ff9f571b51671ecf55c293db1e7d7cd | |
parent | 6f47ea50610d760a8f84106f8ea7d582a96ddf02 (diff) | |
download | meta-openembedded-c049a4e2cee70c023596ec031fa55f479a74afa1.tar.gz |
restinio: add recipe
Header-only C++14 library that gives you an embedded HTTP server.
Signed-off-by: Stefan Wiehler <stefan.wiehler@missinglinkelectronics.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-networking/recipes-connectivity/restinio/restinio_0.6.13.bb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/restinio/restinio_0.6.13.bb b/meta-networking/recipes-connectivity/restinio/restinio_0.6.13.bb new file mode 100644 index 0000000000..ec9b056e5d --- /dev/null +++ b/meta-networking/recipes-connectivity/restinio/restinio_0.6.13.bb | |||
@@ -0,0 +1,31 @@ | |||
1 | SUMMARY = "Header-only C++14 library that gives you an embedded HTTP server" | ||
2 | DESCRIPTION = "Cross-platform, efficient, customizable, and robust \ | ||
3 | asynchronous HTTP/WebSocket server C++14 library with the \ | ||
4 | right balance between performance and ease of use" | ||
5 | AUTHOR = "Stefan Wiehler <stefan.wiehler@missinglinkelectronics.com>" | ||
6 | HOMEPAGE = "https://stiffstream.com/en/products/restinio.html" | ||
7 | SECTION = "libs" | ||
8 | LICENSE = "BSD" | ||
9 | LIC_FILES_CHKSUM = "file://../LICENSE;md5=f399b62ce0a152525d1589a5a40c0ff6" | ||
10 | DEPENDS = "asio fmt http-parser" | ||
11 | |||
12 | SRC_URI = "https://github.com/Stiffstream/restinio/releases/download/v.${PV}/restinio-${PV}.tar.bz2" | ||
13 | SRC_URI[md5sum] = "37a4310e98912030a74bdd4ed789f33c" | ||
14 | SRC_URI[sha256sum] = "b35d696e6fafd4563ca708fcecf9d0cf6705c846d417b5000f5252e0188848e7" | ||
15 | |||
16 | S = "${WORKDIR}/${PN}-${PV}/dev" | ||
17 | |||
18 | inherit cmake | ||
19 | |||
20 | EXTRA_OECMAKE += "\ | ||
21 | -DRESTINIO_TEST=OFF \ | ||
22 | -DRESTINIO_SAMPLE=OFF \ | ||
23 | -DRESTINIO_BENCH=OFF \ | ||
24 | -DRESTINIO_FIND_DEPS=ON \ | ||
25 | -DRESTINIO_ALLOW_SOBJECTIZER=OFF \ | ||
26 | -DRESTINIO_USE_EXTERNAL_HTTP_PARSER=ON \ | ||
27 | " | ||
28 | |||
29 | # Header-only library | ||
30 | RDEPENDS_${PN}-dev = "" | ||
31 | RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})" | ||