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.2 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=libfizz
  3. PKG_VERSION:=2019.09.09.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:=c8e0317fb16b283784ef8607440d0077b4425d1a28d74ea6b083a385bcfb14f6
  8. PKG_BUILD_DIR:=$(BUILD_DIR)/fizz-$(PKG_VERSION)
  9. PKG_MAINTAINER:=Amol Bhave <ambhave@fb.com>
  10. PKG_LICENSE:=BSD-3-Clause
  11. PKG_LICENSE_FILES:=LICENSE
  12. PKG_BUILD_PARALLEL:=1
  13. CMAKE_SOURCE_SUBDIR:=fizz
  14. CMAKE_INSTALL:=1
  15. include $(INCLUDE_DIR)/package.mk
  16. include $(INCLUDE_DIR)/cmake.mk
  17. define Package/libfizz
  18. SECTION:=libs
  19. CATEGORY:=Libraries
  20. DEPENDS:=+libfolly
  21. TITLE:=C++14 implementation of the TLS-1.3 standard
  22. URL:=https://github.com/facebookincubator/fizz
  23. endef
  24. define Package/libfizz/description
  25. C++14 implementation of the TLS-1.3 standard.
  26. Fizz currently supports TLS 1.3 drafts 28, 26 (both wire-compatible with the final specification), and 23.
  27. endef
  28. CMAKE_OPTIONS += \
  29. -DBoost_NO_BOOST_CMAKE=ON \
  30. -DBUILD_EXAMPLES=OFF
  31. TARGET_CXXFLAGS += -ffunction-sections -fdata-sections -flto
  32. TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed
  33. $(eval $(call BuildPackage,libfizz))