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.

52 lines
1.4 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=librsocket-cpp
  3. PKG_SOURCE_DATE:=2019-09-12
  4. PKG_SOURCE_VERSION:=9226988e3da89eff8cd55952ccae61fcac0881fa
  5. PKG_RELEASE:=1
  6. PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_DATE).tar.gz
  7. PKG_SOURCE_URL:=https://codeload.github.com/rsocket/rsocket-cpp/tar.gz/$(PKG_SOURCE_VERSION)?
  8. PKG_HASH:=3273012c1ffa149fddfac2b547315834e9a02ff0d8d1357196fec95391150ed6
  9. PKG_BUILD_DIR:=$(BUILD_DIR)/rsocket-cpp-$(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. CMAKE_BINARY_SUBDIR:=builddir
  15. CMAKE_INSTALL:=1
  16. include $(INCLUDE_DIR)/package.mk
  17. include $(INCLUDE_DIR)/cmake.mk
  18. define Package/librsocket-cpp
  19. SECTION:=libs
  20. CATEGORY:=Libraries
  21. TITLE:=C++ implementation of RSocket
  22. DEPENDS:=+libyarpl
  23. endef
  24. define Package/libyarpl
  25. SECTION:=libs
  26. CATEGORY:=Libraries
  27. TITLE:=yarpl: Yet Another Reactive Programming Library
  28. DEPENDS:=+libfolly
  29. endef
  30. define Package/librsocket-cpp/description
  31. C++ implementation of RSocket, and Application protocol providing Reactive Streams semantics
  32. endef
  33. define Package/libyarpl/description
  34. C++ implementation of reactive functional programming including both Observable and Flowable types.
  35. endef
  36. CMAKE_OPTIONS += \
  37. -DBUILD_BENCHMARKS=OFF \
  38. -DBUILD_EXAMPLES=OFF \
  39. -DBUILD_TESTS=OFF
  40. $(eval $(call BuildPackage,librsocket-cpp))
  41. $(eval $(call BuildPackage,libyarpl))