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.

45 lines
1.2 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=libfizz
  3. PKG_VERSION:=2019.06.10.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:=29a9b2d020b70b83bf27fa6332c07c4ae9cca3b82c5ac9214220a815d7f1fe7f
  8. PKG_BUILD_DIR:=$(BUILD_DIR)/fizz-$(PKG_VERSION)
  9. PKG_MAINTAINER:=Amol Bhave <ambhave@fb.com>
  10. PKG_LICENSE:=BSD
  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. -DBUILD_EXAMPLES=OFF \
  30. -DBUILD_SHARED_LIBS=ON
  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))