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.

47 lines
1.1 KiB

  1. #
  2. # Copyright © 2020 David Woodhouse <dwmw2@infradead.org>
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. include $(TOPDIR)/rules.mk
  7. PKG_NAME:=cereal
  8. PKG_VERSION:=1.3.0
  9. PKG_RELEASE:=2
  10. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  11. PKG_SOURCE_URL:=https://codeload.github.com/USCiLab/cereal/tar.gz/v$(PKG_VERSION)?
  12. PKG_HASH:=329ea3e3130b026c03a4acc50e168e7daff4e6e661bc6a7dfec0d77b570851d5
  13. PKG_MAINTAINER:=David Woodhouse <dwmw2@infradead.org>
  14. PKG_LICENSE:=BSD-3-Clause
  15. PKG_LICENSE_FILES:=LICENSE
  16. CMAKE_INSTALL:=1
  17. include $(INCLUDE_DIR)/package.mk
  18. include ../../devel/ninja/ninja-cmake.mk
  19. CMAKE_OPTIONS += \
  20. -DCMAKE_CXX_FLAGS=-latomic \
  21. -DJUST_INSTALL_CEREAL=ON \
  22. -DSKIP_PORTABILITY_TEST=ON \
  23. -DSKIP_PERFORMANCE_COMPARISON=ON \
  24. -DWITH_WERROR=OFF
  25. define Package/cereal
  26. BUILDONLY:=1
  27. SECTION:=devel
  28. CATEGORY:=Development
  29. SUBMENU:=Libraries
  30. TITLE:=Cereal is a library of C++ header files for serialization
  31. URL:=https://github.com/USCilab/cereal
  32. endef
  33. define Package/cereal/description
  34. Cereal is a library of C++ headers for serialization
  35. endef
  36. $(eval $(call BuildPackage,cereal))