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.

44 lines
1.2 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=libfizz
  3. PKG_VERSION:=2019.09.22.00
  4. PKG_RELEASE:=1
  5. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  6. PKG_SOURCE_VERSION:=0ccff0813dea8d3f730d9c3a1b80e6936522d3f3
  7. PKG_SOURCE_URL:=https://codeload.github.com/facebookincubator/fizz/tar.gz/$(PKG_SOURCE_VERSION)?
  8. PKG_HASH:=32a8de32e7a83e53ad44931ac637f6e17ce7f81bd65bc835f14d59442041e7f6
  9. PKG_BUILD_DIR:=$(BUILD_DIR)/fizz-$(PKG_SOURCE_VERSION)
  10. PKG_MAINTAINER:=Amol Bhave <ambhave@fb.com>
  11. PKG_LICENSE:=BSD-3-Clause
  12. PKG_LICENSE_FILES:=LICENSE
  13. PKG_CPE_ID:=cpe:/a:facebook:fizz
  14. PKG_BUILD_PARALLEL:=1
  15. CMAKE_SOURCE_SUBDIR:=fizz
  16. CMAKE_INSTALL:=1
  17. include $(INCLUDE_DIR)/package.mk
  18. include $(INCLUDE_DIR)/cmake.mk
  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. CMAKE_OPTIONS += \
  31. -DBUILD_EXAMPLES=OFF
  32. TARGET_CXXFLAGS += -ffunction-sections -fdata-sections -flto
  33. TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed
  34. $(eval $(call BuildPackage,libfizz))