1 include $(TOPDIR
)/rules.mk
6 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
8 PKG_SOURCE_URL
:=https
://github.com
/nghttp2
/nghttp2
/releases
/download
/v
$(PKG_VERSION
)
9 PKG_HASH
:=679160766401f474731fd60c3aca095f88451e3cc4709b72306e4c34cf981448
12 PKG_LICENSE_FILES
:=COPYING
15 include $(INCLUDE_DIR
)/package.mk
16 include $(INCLUDE_DIR
)/cmake.mk
18 define Package
/libnghttp2
21 TITLE
:=Library implementing the framing layer of HTTP
/2
22 MAINTAINER
:=Hans Dedecker
<dedeckeh@gmail.com
>
26 define Package
/libnghttp2
/description
27 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
33 define Build
/InstallDev
34 $(INSTALL_DIR
) $(1)/usr
/include/nghttp2
35 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/usr
/include/nghttp2
/*.h
$(1)/usr
/include/nghttp2
/
36 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
37 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/*.
pc $(1)/usr
/lib
/pkgconfig
/
38 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libnghttp2.so
* $(1)/usr
/lib
/
41 define Package
/libnghttp2
/install
42 $(INSTALL_DIR
) $(1)/usr
/lib
43 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libnghttp2.so.
* $(1)/usr
/lib
46 $(eval
$(call BuildPackage
,libnghttp2
))