1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-20 15:48:40 +02:00
openwrt-packages/libs/nghttp2/Makefile
Hans Dedecker b37c1d06c6 nghttp2: update to 1.43
3dc6c0af Bump version number to 1.43.0
e8762781 Update AUTHORS
2bf841e2 workflow: Build with UBSAN enabled
7ebab98e Merge pull request #1548 from nghttp2/py3-bindings
23fc6cc9 Bump Linux runner OS to ubuntu 20.04
2e35cdea Update doc
22af8e78 Require python3 for python bindings
c88e9100 Update ax_python_devel.m4
43ba3125 Merge pull request #1547 from nghttp2/sphinx-v3.3
3c17299a Update enum references
a7ecff65 Make doc generation work with sphinx v3.3
79a4f789 Merge pull request #1546 from nghttp2/py3-scripts
28ba0b37 Update document reference
6b7ade9f Require python3 for python scripts
46536729 Bump clang-format to 10
563c1173 Merge pull request #1544 from nghttp2/nghttpx-clear-mcpool
1c04ca80 Merge pull request #1540 from tavrez/patch-1
d32e20bc nghttpx: Make sure that Pool gets cleared when all buffers are returned
8b8ba6b0 Merge pull request #1542 from nghttp2/nghttpx-check-sigalg
81fb0153 nghttpx: Choose ECDSA cert if compatible signature algorithm available
d8c71d5f Added new nghttp2_ksl.c to Windows makefile
fb5b5aef Merge pull request #1537 from nghttp2/nghttpx-allow-colon-in-pattern
6787423e nghttpx: Add workaround to include ':' in backend pattern
ffcdf5df Merge pull request #1533 from LorenzNickel/patch-1
0cdb1738 Fix typo in security.rst
c9d5472f Bump version number to 1.43.0-DEV
15bd71ed Update manual pages

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2021-02-07 18:55:36 +01:00

46 lines
1.2 KiB
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=nghttp2
PKG_VERSION:=1.43.0
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://github.com/nghttp2/nghttp2/releases/download/v$(PKG_VERSION)
PKG_HASH:=f7d54fa6f8aed29f695ca44612136fa2359013547394d5dffeffca9e01a26b0f
PKG_MAINTAINER:=Hans Dedecker <dedeckeh@gmail.com>
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=COPYING
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
define Package/libnghttp2
SECTION:=libs
CATEGORY:=Libraries
TITLE:=Library implementing the framing layer of HTTP/2
ABI_VERSION:=14
endef
define Package/libnghttp2/description
C library implementing the framing layer of the HTTP/2 protocol. It can be used to build a HTTP/2-capable HTTP client or server
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/libnghttp2.pc
$(SED) 's,/usr/lib,$$$${prefix}/lib,g' $(1)/usr/lib/pkgconfig/libnghttp2.pc
endef
define Package/libnghttp2/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libnghttp2.so.* $(1)/usr/lib
endef
$(eval $(call BuildPackage,libnghttp2))