xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-support/nghttp2/nghttp2_1.47.0.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "HTTP/2 C Library and tools"
2*4882a593SmuzhiyunHOMEPAGE = "https://nghttp2.org/"
3*4882a593SmuzhiyunSECTION = "libs"
4*4882a593SmuzhiyunLICENSE = "MIT"
5*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=764abdf30b2eadd37ce47dcbce0ea1ec"
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunUPSTREAM_CHECK_URI = "https://github.com/nghttp2/nghttp2/releases"
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunSRC_URI = "\
10*4882a593Smuzhiyun    https://github.com/nghttp2/nghttp2/releases/download/v${PV}/nghttp2-${PV}.tar.xz \
11*4882a593Smuzhiyun    file://0001-fetch-ocsp-response-use-python3.patch \
12*4882a593Smuzhiyun"
13*4882a593SmuzhiyunSRC_URI[sha256sum] = "68271951324554c34501b85190f22f2221056db69f493afc3bbac8e7be21e7cc"
14*4882a593Smuzhiyun
15*4882a593Smuzhiyuninherit cmake manpages python3native
16*4882a593SmuzhiyunPACKAGECONFIG[manpages] = ""
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun# examples are never installed, and don't need to be built in the
19*4882a593Smuzhiyun# first place
20*4882a593SmuzhiyunEXTRA_OECMAKE = "-DENABLE_EXAMPLES=OFF -DENABLE_APP=OFF -DENABLE_HPACK_TOOLS=OFF"
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun# Do not let configure try to decide this.
23*4882a593Smuzhiyun#
24*4882a593SmuzhiyunEXTRA_OECMAKE += "-DENABLE_PYTHON_BINDINGS=OFF"
25*4882a593Smuzhiyun
26*4882a593SmuzhiyunPACKAGES =+ "lib${BPN} ${PN}-client ${PN}-proxy ${PN}-server"
27*4882a593Smuzhiyun
28*4882a593SmuzhiyunRDEPENDS:${PN} = "${PN}-client (>= ${PV}) ${PN}-proxy (>= ${PV}) ${PN}-server (>= ${PV})"
29*4882a593SmuzhiyunRDEPENDS:${PN}:class-native = ""
30*4882a593SmuzhiyunRDEPENDS:${PN}-proxy = "openssl python3-core python3-io python3-shell"
31*4882a593Smuzhiyun
32*4882a593SmuzhiyunALLOW_EMPTY:${PN} = "1"
33*4882a593SmuzhiyunFILES:${PN} = ""
34*4882a593SmuzhiyunFILES:lib${BPN} = "${libdir}/*${SOLIBS}"
35*4882a593SmuzhiyunFILES:${PN}-client = "${bindir}/h2load ${bindir}/nghttp"
36*4882a593SmuzhiyunFILES:${PN}-proxy = "${bindir}/nghttpx ${datadir}/${BPN}/fetch-ocsp-response"
37*4882a593SmuzhiyunFILES:${PN}-server = "${bindir}/nghttpd"
38*4882a593Smuzhiyun
39*4882a593SmuzhiyunBBCLASSEXTEND = "native nativesdk"
40