Makefile 886 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:= jsoncpp
  5. PKG_VERSION:= 9cb88d2ca66af19c53a98843d159cc1d32ebaec6
  6. PKG_GIT:= hash
  7. PKG_RELEASE:= 1
  8. PKG_DESCR:= c++ library for json
  9. PKG_SECTION:= libs/misc
  10. PKG_BUILDDEP:= cmake-host
  11. PKG_NEEDS:= c++
  12. PKG_URL:= https://github.com/open-source-parsers/jsoncpp
  13. PKG_SITES:= https://github.com/open-source-parsers/jsoncpp.git
  14. PKG_OPTS:= dev
  15. include $(ADK_TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,JSONCPP,jsoncpp,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
  17. CONFIG_STYLE:= cmake
  18. CMAKE_FLAGS:= -DJSONCPP_WITH_TESTS=OFF -DJSONCPP_WITH_POST_BUILD_UNITTEST=OFF
  19. jsoncpp-install:
  20. $(INSTALL_DIR) $(IDIR_JSONCPP)/usr/lib
  21. include $(ADK_TOPDIR)/mk/pkg-bottom.mk