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.

41 lines
1.1 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=libwangle
  3. PKG_VERSION:=2019.05.27.00
  4. PKG_RELEASE:=1
  5. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  6. PKG_SOURCE_URL:=https://codeload.github.com/facebook/wangle/tar.gz/v$(PKG_VERSION)?
  7. PKG_HASH:=935d94658133279d98de27ab7c78801c87f16414b8eec43766798acc5b14f549
  8. PKG_BUILD_DIR:=$(BUILD_DIR)/wangle-$(PKG_VERSION)
  9. PKG_LICENSE:=Apache-2.0
  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:=wangle
  15. CMAKE_OPTIONS:= \
  16. -DBUILD_SHARED_LIBS=ON
  17. CMAKE_INSTALL:=1
  18. define Package/libwangle
  19. SECTION:=libs
  20. CATEGORY:=Libraries
  21. TITLE:=Wangle: C++ networking library
  22. DEPENDS:=+libfizz
  23. endef
  24. define Package/libwangle/description
  25. Wangle is a framework providing a set of common client/server abstractions for building services in a consistent, modular, and composable way.
  26. This package includes the shared library.
  27. endef
  28. define Package/libwangle/install
  29. $(INSTALL_DIR) $(1)/usr/lib
  30. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libwangle.so* $(1)/usr/lib/
  31. endef
  32. $(eval $(call BuildPackage,libwangle))