packages/libs/libfizz/Makefile
Rosen Penev ea50dc801a libfizz: Update to 2019.06.10.00
Fixes compilation when ChaCha20 is missing from OpenSSL 1.1

Added Maintainer.

Rearranged Makefile for consistency.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-06-20 09:45:53 -07:00

45 lines
1.2 KiB
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=libfizz
PKG_VERSION:=2019.06.10.00
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/facebookincubator/fizz/tar.gz/v$(PKG_VERSION)?
PKG_HASH:=29a9b2d020b70b83bf27fa6332c07c4ae9cca3b82c5ac9214220a815d7f1fe7f
PKG_BUILD_DIR:=$(BUILD_DIR)/fizz-$(PKG_VERSION)
PKG_MAINTAINER:=Amol Bhave <ambhave@fb.com>
PKG_LICENSE:=BSD
PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_PARALLEL:=1
CMAKE_SOURCE_SUBDIR:=fizz
CMAKE_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
define Package/libfizz
SECTION:=libs
CATEGORY:=Libraries
DEPENDS:=+libfolly
TITLE:=C++14 implementation of the TLS-1.3 standard
URL:=https://github.com/facebookincubator/fizz
endef
define Package/libfizz/description
C++14 implementation of the TLS-1.3 standard.
Fizz currently supports TLS 1.3 drafts 28, 26 (both wire-compatible with the final specification), and 23.
endef
CMAKE_OPTIONS += \
-DBUILD_EXAMPLES=OFF \
-DBUILD_SHARED_LIBS=ON
define Package/libfizz/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libfizz.so* $(1)/usr/lib/
endef
$(eval $(call BuildPackage,libfizz))