1*edff4923SAndrew GeisslerSUMMARY = "HTTP/2 C Library and tools"
2*edff4923SAndrew GeisslerHOMEPAGE = "https://nghttp2.org/"
3*edff4923SAndrew GeisslerSECTION = "libs"
4*edff4923SAndrew GeisslerLICENSE = "MIT"
5*edff4923SAndrew GeisslerLIC_FILES_CHKSUM = "file://COPYING;md5=764abdf30b2eadd37ce47dcbce0ea1ec"
6*edff4923SAndrew Geissler
7*edff4923SAndrew GeisslerSRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/nghttp2-${PV}.tar.xz"
8*edff4923SAndrew GeisslerSRC_URI[sha256sum] = "26798308fa0a12dabdb7ba8c77f74383019d3a0f1f36d25958b836af22474958"
9*edff4923SAndrew Geissler
10*edff4923SAndrew Geisslerinherit cmake manpages python3native github-releases
11*edff4923SAndrew GeisslerPACKAGECONFIG[manpages] = ""
12*edff4923SAndrew Geissler
13*edff4923SAndrew Geissler# examples are never installed, and don't need to be built in the
14*edff4923SAndrew Geissler# first place
15*edff4923SAndrew GeisslerEXTRA_OECMAKE = "-DENABLE_EXAMPLES=OFF -DENABLE_APP=OFF -DENABLE_HPACK_TOOLS=OFF -DENABLE_PYTHON_BINDINGS=OFF"
16*edff4923SAndrew Geissler
17*edff4923SAndrew GeisslerPACKAGES =+ "lib${BPN} ${PN}-proxy "
18*edff4923SAndrew Geissler
19*edff4923SAndrew GeisslerRDEPENDS:${PN} = "${PN}-proxy (>= ${PV})"
20*edff4923SAndrew GeisslerRDEPENDS:${PN}:class-native = ""
21*edff4923SAndrew GeisslerRDEPENDS:${PN}-proxy = "openssl python3-core python3-io python3-shell"
22*edff4923SAndrew Geissler
23*edff4923SAndrew GeisslerALLOW_EMPTY:${PN} = "1"
24*edff4923SAndrew GeisslerFILES:${PN} = ""
25*edff4923SAndrew GeisslerFILES:lib${BPN} = "${libdir}/*${SOLIBS}"
26*edff4923SAndrew GeisslerFILES:${PN}-proxy = "${bindir}/nghttpx ${datadir}/${BPN}/fetch-ocsp-response"
27*edff4923SAndrew Geissler
28*edff4923SAndrew GeisslerBBCLASSEXTEND = "native nativesdk"
29