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.05.06.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:=80d4089cef655192733a7b0536bd3e2dab9baf143ed99510308064ff4842ae11
  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 +boost +libopenssl +glog +gflags +libevent2 \
  23. +libdouble-conversion +libsodium
  24. TITLE:=C++14 implementation of the TLS-1.3 standard
  25. URL:=https://github.com/facebookincubator/fizz
  26. endef
  27. define Package/libfizz/description
  28. C++14 implementation of the TLS-1.3 standard.
  29. Fizz currently supports TLS 1.3 drafts 28, 26 (both wire-compatible with the final specification), and 23.
  30. endef
  31. define Package/libfizz/install
  32. $(INSTALL_DIR) $(1)/usr/lib
  33. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libfizz.so* $(1)/usr/lib/
  34. endef
  35. $(eval $(call BuildPackage,libfizz))