xref: /OK3568_Linux_fs/buildroot/package/nghttp2/nghttp2.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun################################################################################
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# nghttp2
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun################################################################################
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunNGHTTP2_VERSION = 1.41.0
8*4882a593SmuzhiyunNGHTTP2_SITE = https://github.com/nghttp2/nghttp2/releases/download/v$(NGHTTP2_VERSION)
9*4882a593SmuzhiyunNGHTTP2_LICENSE = MIT
10*4882a593SmuzhiyunNGHTTP2_LICENSE_FILES = COPYING
11*4882a593SmuzhiyunNGHTTP2_INSTALL_STAGING = YES
12*4882a593SmuzhiyunNGHTTP2_CPE_ID_VENDOR = nghttp2
13*4882a593SmuzhiyunNGHTTP2_DEPENDENCIES = host-pkgconf
14*4882a593SmuzhiyunNGHTTP2_CONF_OPTS = --enable-lib-only
15*4882a593Smuzhiyun
16*4882a593Smuzhiyundefine NGHTTP2_INSTALL_CLEAN_HOOK
17*4882a593Smuzhiyun	# Remove fetch-ocsp-response script unused by library
18*4882a593Smuzhiyun	$(Q)$(RM) -rf $(TARGET_DIR)/usr/share/nghttp2
19*4882a593Smuzhiyunendef
20*4882a593Smuzhiyun
21*4882a593SmuzhiyunNGHTTP2_POST_INSTALL_TARGET_HOOKS += NGHTTP2_INSTALL_CLEAN_HOOK
22*4882a593Smuzhiyun
23*4882a593Smuzhiyun$(eval $(autotools-package))
24