mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 06:51:51 +08:00
8a22595f49
Changelog: - Client-side stream scheduling is now incremental by default - Add nghttp3_recv_settings2 API - Add glitch protection and time-based features (v1.12.0) - Optimize QPACK Huffman decoding performance - Fix ENABLE_CONNECT_PROTOCOL handling Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=nghttp3
|
|
PKG_VERSION:=1.15.0
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
|
PKG_SOURCE_URL:=https://github.com/ngtcp2/nghttp3/releases/download/v$(PKG_VERSION)/
|
|
PKG_HASH:=6da0cd06b428d32a54c58137838505d9dc0371a900bb8070a46b29e1ceaf2e0f
|
|
|
|
PKG_LICENSE:=MIT
|
|
PKG_LICENSE_FILES:=COPYING
|
|
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
|
|
|
|
CMAKE_INSTALL:=1
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include $(INCLUDE_DIR)/cmake.mk
|
|
|
|
define Package/libnghttp3
|
|
SECTION:=libs
|
|
CATEGORY:=Libraries
|
|
TITLE:=HTTP/3 library written in C
|
|
URL:=https://nghttp2.org/nghttp3
|
|
endef
|
|
|
|
define Package/libnghttp3/description
|
|
HTTP/3 library written in C.
|
|
endef
|
|
|
|
CMAKE_OPTIONS += -DENABLE_LIB_ONLY=ON
|
|
|
|
define Build/InstallDev
|
|
$(call Build/InstallDev/cmake,$(1))
|
|
$(SED) 's,/usr/include,$$$${prefix}/include,g' $(1)/usr/lib/pkgconfig/libnghttp3.pc
|
|
$(SED) 's,/usr/lib,$$$${exec_prefix}/lib,g' $(1)/usr/lib/pkgconfig/libnghttp3.pc
|
|
endef
|
|
|
|
define Package/libnghttp3/install
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libnghttp3.so* $(1)/usr/lib
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,libnghttp3))
|