OpenWrt – Blame information for rev 3
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | include $(TOPDIR)/rules.mk |
2 | |||
3 | PKG_NAME:=nghttp2 |
||
3 | office | 4 | PKG_VERSION:=1.32.0 |
5 | PKG_RELEASE:=1 |
||
1 | office | 6 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz |
7 | |||
8 | PKG_SOURCE_URL:=https://github.com/nghttp2/nghttp2/releases/download/v$(PKG_VERSION) |
||
3 | office | 9 | PKG_HASH:=700a89d59fcc55acc2b18184001bfb3220fa6a6e543486aca35f40801cba6f7d |
1 | office | 10 | |
11 | PKG_LICENSE:=MIT |
||
12 | PKG_LICENSE_FILES:=COPYING |
||
13 | CMAKE_INSTALL:=1 |
||
14 | |||
15 | include $(INCLUDE_DIR)/package.mk |
||
16 | include $(INCLUDE_DIR)/cmake.mk |
||
17 | |||
18 | define Package/libnghttp2 |
||
19 | SECTION:=libs |
||
20 | CATEGORY:=Libraries |
||
21 | TITLE:=Library implementing the framing layer of HTTP/2 |
||
22 | MAINTAINER:=Hans Dedecker <dedeckeh@gmail.com> |
||
23 | endef |
||
24 | |||
25 | define Package/libnghttp2/description |
||
26 | 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 |
||
27 | endef |
||
28 | |||
29 | CMAKE_OPTIONS += \ |
||
30 | -DENABLE_LIB_ONLY=ON |
||
31 | |||
32 | define Build/InstallDev |
||
33 | $(INSTALL_DIR) $(1)/usr/include/nghttp2 |
||
34 | $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/nghttp2/*.h $(1)/usr/include/nghttp2/ |
||
35 | $(INSTALL_DIR) $(1)/usr/lib/pkgconfig |
||
36 | $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc $(1)/usr/lib/pkgconfig/ |
||
37 | $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libnghttp2.so* $(1)/usr/lib/ |
||
38 | endef |
||
39 | |||
40 | define Package/libnghttp2/install |
||
41 | $(INSTALL_DIR) $(1)/usr/lib |
||
3 | office | 42 | $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libnghttp2.so* $(1)/usr/lib |
1 | office | 43 | endef |
44 | |||
45 | $(eval $(call BuildPackage,libnghttp2)) |