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.

35 lines
980 B

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=libwangle
  3. PKG_VERSION:=2019.09.22.00
  4. PKG_RELEASE:=1
  5. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  6. PKG_SOURCE_VERSION:=fb79e25af6d4e184587b62475fb3444643ae8867
  7. PKG_SOURCE_URL:=https://codeload.github.com/facebook/wangle/tar.gz/$(PKG_SOURCE_VERSION)?
  8. PKG_HASH:=e973cad492d025c93af49c245b1f77b484df09a4d70ade069648d633d5a85e0e
  9. PKG_BUILD_DIR:=$(BUILD_DIR)/wangle-$(PKG_SOURCE_VERSION)
  10. PKG_MAINTAINER:=Amol Bhave <ambhave@fb.com>
  11. PKG_LICENSE:=Apache-2.0
  12. PKG_LICENSE_FILES:=LICENSE
  13. PKG_BUILD_PARALLEL:=1
  14. PKG_BUILD_DEPENDS:=libfizz
  15. CMAKE_SOURCE_SUBDIR:=wangle
  16. CMAKE_INSTALL:=1
  17. include $(INCLUDE_DIR)/package.mk
  18. include $(INCLUDE_DIR)/cmake.mk
  19. define Package/libwangle
  20. SECTION:=libs
  21. CATEGORY:=Libraries
  22. TITLE:=Wangle: C++ networking library
  23. URL:=https://github.com/facebook/wangle
  24. endef
  25. TARGET_CXXFLAGS += -ffunction-sections -fdata-sections -flto
  26. TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed
  27. $(eval $(call BuildPackage,libwangle))