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