diff options
Diffstat (limited to 'meta-networking/recipes-support/nghttp2/nghttp2_1.42.0.bb')
| -rw-r--r-- | meta-networking/recipes-support/nghttp2/nghttp2_1.42.0.bb | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/nghttp2/nghttp2_1.42.0.bb b/meta-networking/recipes-support/nghttp2/nghttp2_1.42.0.bb new file mode 100644 index 0000000000..d24b0b475f --- /dev/null +++ b/meta-networking/recipes-support/nghttp2/nghttp2_1.42.0.bb | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | SUMMARY = "HTTP/2 C Library and tools" | ||
| 2 | HOMEPAGE = "https://nghttp2.org/" | ||
| 3 | SECTION = "libs" | ||
| 4 | LICENSE = "MIT" | ||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=764abdf30b2eadd37ce47dcbce0ea1ec" | ||
| 6 | DEPENDS = "c-ares cunit jansson libev libevent libxml2 openssl zlib" | ||
| 7 | |||
| 8 | UPSTREAM_CHECK_URI = "https://github.com/nghttp2/nghttp2/releases" | ||
| 9 | |||
| 10 | SRC_URI = "\ | ||
| 11 | https://github.com/nghttp2/nghttp2/releases/download/v${PV}/nghttp2-${PV}.tar.xz \ | ||
| 12 | file://0001-fetch-ocsp-response-use-python3.patch \ | ||
| 13 | " | ||
| 14 | SRC_URI[md5sum] = "c38f1d230af8cec480ff9dd60c9e0db0" | ||
| 15 | SRC_URI[sha256sum] = "c5a7f09020f31247d0d1609078a75efadeccb7e5b86fc2e4389189b1b431fe63" | ||
| 16 | |||
| 17 | inherit cmake manpages python3native | ||
| 18 | PACKAGECONFIG[manpages] = "" | ||
| 19 | |||
| 20 | # examples are never installed, and don't need to be built in the | ||
| 21 | # first place | ||
| 22 | EXTRA_OECMAKE = "-DENABLE_EXAMPLES=OFF -DENABLE_APP=ON" | ||
| 23 | |||
| 24 | do_install_append() { | ||
| 25 | rm ${D}${bindir}/deflatehd ${D}${bindir}/inflatehd | ||
| 26 | } | ||
| 27 | |||
| 28 | PACKAGES =+ "lib${PN} ${PN}-client ${PN}-proxy ${PN}-server" | ||
| 29 | |||
| 30 | RDEPENDS_${PN} = "${PN}-client (>= ${PV}) ${PN}-proxy (>= ${PV}) ${PN}-server (>= ${PV})" | ||
| 31 | RDEPENDS_${PN}_class-native = "" | ||
| 32 | RDEPENDS_${PN}-proxy = "openssl python3-core python3-io python3-shell" | ||
| 33 | |||
| 34 | ALLOW_EMPTY_${PN} = "1" | ||
| 35 | FILES_${PN} = "" | ||
| 36 | FILES_lib${PN} = "${libdir}/*${SOLIBS}" | ||
| 37 | FILES_${PN}-client = "${bindir}/h2load ${bindir}/nghttp" | ||
| 38 | FILES_${PN}-proxy = "${bindir}/nghttpx ${datadir}/${BPN}/fetch-ocsp-response" | ||
| 39 | FILES_${PN}-server = "${bindir}/nghttpd" | ||
| 40 | |||
| 41 | BBCLASSEXTEND = "native" | ||
