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.

55 lines
1.5 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=librsocket-cpp
  3. PKG_SOURCE_DATE:=2019-09-22
  4. PKG_SOURCE_VERSION:=b268907312af589828634c143b9f35b58cd6cfea
  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:=7ab4655d3d8148ce689f74a116ae7393d9e802f91d0dfd697ffd8daeff800e61
  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. URL:=https://rsocket.io/
  23. DEPENDS:=+libyarpl
  24. endef
  25. define Package/libyarpl
  26. SECTION:=libs
  27. CATEGORY:=Libraries
  28. TITLE:=yarpl: Yet Another Reactive Programming Library
  29. URL:=https://rsocket.io/
  30. DEPENDS:=+libfolly
  31. endef
  32. define Package/librsocket-cpp/description
  33. C++ implementation of RSocket, and Application protocol providing Reactive Streams semantics
  34. endef
  35. define Package/libyarpl/description
  36. C++ implementation of reactive functional programming including both Observable and Flowable types.
  37. endef
  38. CMAKE_OPTIONS += \
  39. -DBUILD_BENCHMARKS=OFF \
  40. -DBUILD_EXAMPLES=OFF \
  41. -DBUILD_TESTS=OFF \
  42. -DCMAKE_POSITION_INDEPENDENT_CODE=ON
  43. $(eval $(call BuildPackage,librsocket-cpp))
  44. $(eval $(call BuildPackage,libyarpl))