Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 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 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 8 | S = "${WORKDIR}/git" |
| 9 | SRCREV = "73557509bd15f95a1ad081a6f4fab48ff7743215" |
| 10 | SRC_URI = "git://github.com/warmcat/libwebsockets.git;protocol=https;" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 11 | |
| 12 | inherit cmake pkgconfig |
| 13 | |
| 14 | PACKAGECONFIG ?= "libuv client server http2 ssl" |
| 15 | PACKAGECONFIG[client] = "-DLWS_WITHOUT_CLIENT=OFF,-DLWS_WITHOUT_CLIENT=ON," |
| 16 | PACKAGECONFIG[http2] = "-DLWS_WITH_HTTP2=ON,-DLWS_WITH_HTTP2=OFF," |
| 17 | PACKAGECONFIG[ipv6] = "-DLWS_IPV6=ON,-DLWS_IPV6=OFF," |
| 18 | PACKAGECONFIG[libev] = "-DLWS_WITH_LIBEV=ON,-DLWS_WITH_LIBEV=OFF,libev" |
| 19 | PACKAGECONFIG[libuv] = "-DLWS_WITH_LIBUV=ON,-DLWS_WITH_LIBUV=OFF,libuv" |
| 20 | PACKAGECONFIG[server] = "-DLWS_WITHOUT_SERVER=OFF,-DLWS_WITHOUT_SERVER=ON," |
| 21 | PACKAGECONFIG[ssl] = "-DLWS_WITH_SSL=ON,-DLWS_WITH_SSL=OFF,openssl" |
| 22 | PACKAGECONFIG[testapps] = "-DLWS_WITHOUT_TESTAPPS=OFF,-DLWS_WITHOUT_TESTAPPS=ON," |
| 23 | |
| 24 | PACKAGES =+ "${PN}-testapps" |
| 25 | |
| 26 | FILES_${PN}-dev += "${libdir}/cmake" |
| 27 | FILES_${PN}-testapps += "${datadir}/libwebsockets-test-server/*" |