Makefile 873 B

12345678910111213141516171819202122232425262728
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= fmt
  5. PKG_VERSION:= 5.0.0
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= fc33d64d5aa2739ad2ca1b128628a7fc1b7dca1ad077314f09affc57d59cf88a
  8. PKG_DESCR:= modern formatting library
  9. PKG_SECTION:= libs/misc
  10. PKG_URL:= http://fmtlib.net/latest/index.html
  11. PKG_SITES:= https://github.com/fmtlib/fmt/archive/
  12. PKG_LIBNAME:= libfmt
  13. PKG_OPTS:= dev
  14. DISTFILES:= $(PKG_VERSION).tar.gz
  15. include $(ADK_TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,LIBFMT,libfmt,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
  17. CONFIG_STYLE:= cmake
  18. CMAKE_FLAGS+= -DFMT_DOC=OFF -DFMT_INSTALL=ON -DFMT_TEST=OFF -DFMT_USE_CPP11=ON
  19. libfmt-install:
  20. include $(ADK_TOPDIR)/mk/pkg-bottom.mk