You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.1 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=libfizz
  3. PKG_VERSION:=2019.05.27.00
  4. PKG_RELEASE:=1
  5. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  6. PKG_SOURCE_URL:=https://codeload.github.com/facebookincubator/fizz/tar.gz/v$(PKG_VERSION)?
  7. PKG_HASH:=d3f5325717a2af3684a41889d45b19e975cfff177faffdfaab8cb63df4e0318c
  8. PKG_BUILD_DIR:=$(BUILD_DIR)/fizz-$(PKG_VERSION)
  9. PKG_LICENSE:=BSD
  10. PKG_LICENSE_FILES:=LICENSE
  11. include $(INCLUDE_DIR)/package.mk
  12. include $(INCLUDE_DIR)/cmake.mk
  13. PKG_BUILD_PARALLEL:=1
  14. CMAKE_SOURCE_SUBDIR:=fizz
  15. CMAKE_OPTIONS:= \
  16. -DBUILD_EXAMPLES=OFF \
  17. -DBUILD_SHARED_LIBS=ON
  18. CMAKE_INSTALL:=1
  19. define Package/libfizz
  20. SECTION:=libs
  21. CATEGORY:=Libraries
  22. DEPENDS:=+libfolly
  23. TITLE:=C++14 implementation of the TLS-1.3 standard
  24. URL:=https://github.com/facebookincubator/fizz
  25. endef
  26. define Package/libfizz/description
  27. C++14 implementation of the TLS-1.3 standard.
  28. Fizz currently supports TLS 1.3 drafts 28, 26 (both wire-compatible with the final specification), and 23.
  29. endef
  30. define Package/libfizz/install
  31. $(INSTALL_DIR) $(1)/usr/lib
  32. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libfizz.so* $(1)/usr/lib/
  33. endef
  34. $(eval $(call BuildPackage,libfizz))