diff options
author | Fabio Berton <fabio.berton@ossystems.com.br> | 2017-02-10 09:04:09 -0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-02-13 18:43:36 +0100 |
commit | 701397952efdb9790a2ea51c7b499f73243dc67b (patch) | |
tree | 74b22db4eed1cd6a2df8a2ebce8283ac12b5f44c /meta-oe/recipes-connectivity | |
parent | 28528c4ca9b803861422be2d809467f66100c938 (diff) | |
download | meta-openembedded-701397952efdb9790a2ea51c7b499f73243dc67b.tar.gz |
libwebsockets: Add recipe for version 2.1.0
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-connectivity')
-rw-r--r-- | meta-oe/recipes-connectivity/libwebsockets/libwebsockets_2.1.0.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_2.1.0.bb b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_2.1.0.bb new file mode 100644 index 000000000..935479987 --- /dev/null +++ b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_2.1.0.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | SUMMARY = "Canonical libwebsockets.org websocket library" | ||
2 | HOMEPAGE = "https://libwebsockets.org/" | ||
3 | LICENSE = "LGPL-2.1" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e3393a657830d4a118c5a6ed35ba53d0" | ||
5 | |||
6 | DEPENDS = "zlib" | ||
7 | |||
8 | SRC_URI = "https://github.com/warmcat/libwebsockets/archive/v${PV}.tar.gz" | ||
9 | |||
10 | SRC_URI[md5sum] = "4df3be57dee43aeebd54a3ed56568f50" | ||
11 | SRC_URI[sha256sum] = "bcc96aaa609daae4d3f7ab1ee480126709ef4f6a8bf9c85de40aae48e38cce66" | ||
12 | |||
13 | inherit cmake pkgconfig | ||
14 | |||
15 | PACKAGECONFIG ?= "libuv client server http2 ssl" | ||
16 | PACKAGECONFIG[client] = "-DLWS_WITHOUT_CLIENT=OFF,-DLWS_WITHOUT_CLIENT=ON," | ||
17 | PACKAGECONFIG[http2] = "-DLWS_WITH_HTTP2=ON,-DLWS_WITH_HTTP2=OFF," | ||
18 | PACKAGECONFIG[ipv6] = "-DLWS_IPV6=ON,-DLWS_IPV6=OFF," | ||
19 | PACKAGECONFIG[libev] = "-DLWS_WITH_LIBEV=ON,-DLWS_WITH_LIBEV=OFF,libev" | ||
20 | PACKAGECONFIG[libuv] = "-DLWS_WITH_LIBUV=ON,-DLWS_WITH_LIBUV=OFF,libuv" | ||
21 | PACKAGECONFIG[server] = "-DLWS_WITHOUT_SERVER=OFF,-DLWS_WITHOUT_SERVER=ON," | ||
22 | PACKAGECONFIG[ssl] = "-DLWS_WITH_SSL=ON,-DLWS_WITH_SSL=OFF,openssl" | ||
23 | PACKAGECONFIG[testapps] = "-DLWS_WITHOUT_TESTAPPS=OFF,-DLWS_WITHOUT_TESTAPPS=ON," | ||
24 | |||
25 | PACKAGES =+ "${PN}-testapps" | ||
26 | |||
27 | FILES_${PN}-dev += "${libdir}/cmake" | ||
28 | FILES_${PN}-testapps += "${datadir}/libwebsockets-test-server/*" | ||