diff options
Diffstat (limited to 'meta/recipes-support/nghttp2/nghttp2_1.54.0.bb')
-rw-r--r-- | meta/recipes-support/nghttp2/nghttp2_1.54.0.bb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-support/nghttp2/nghttp2_1.54.0.bb b/meta/recipes-support/nghttp2/nghttp2_1.54.0.bb new file mode 100644 index 0000000000..4e15f0839f --- /dev/null +++ b/meta/recipes-support/nghttp2/nghttp2_1.54.0.bb | |||
@@ -0,0 +1,31 @@ | |||
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 | |||
7 | SRC_URI = "\ | ||
8 | ${GITHUB_BASE_URI}/download/v${PV}/nghttp2-${PV}.tar.xz \ | ||
9 | file://0001-fetch-ocsp-response-use-python3.patch \ | ||
10 | " | ||
11 | SRC_URI[sha256sum] = "20533c9354fbb6aa689b6aa0ddb77f91da1d242587444502832e1864308152df" | ||
12 | |||
13 | inherit cmake manpages python3native github-releases | ||
14 | PACKAGECONFIG[manpages] = "" | ||
15 | |||
16 | # examples are never installed, and don't need to be built in the | ||
17 | # first place | ||
18 | EXTRA_OECMAKE = "-DENABLE_EXAMPLES=OFF -DENABLE_APP=OFF -DENABLE_HPACK_TOOLS=OFF -DENABLE_PYTHON_BINDINGS=OFF" | ||
19 | |||
20 | PACKAGES =+ "lib${BPN} ${PN}-proxy " | ||
21 | |||
22 | RDEPENDS:${PN} = "${PN}-proxy (>= ${PV})" | ||
23 | RDEPENDS:${PN}:class-native = "" | ||
24 | RDEPENDS:${PN}-proxy = "openssl python3-core python3-io python3-shell" | ||
25 | |||
26 | ALLOW_EMPTY:${PN} = "1" | ||
27 | FILES:${PN} = "" | ||
28 | FILES:lib${BPN} = "${libdir}/*${SOLIBS}" | ||
29 | FILES:${PN}-proxy = "${bindir}/nghttpx ${datadir}/${BPN}/fetch-ocsp-response" | ||
30 | |||
31 | BBCLASSEXTEND = "native nativesdk" | ||