Makefile 869 B

123456789101112131415161718192021222324252627
  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_URL:= https://github.com/open-source-parsers/jsoncpp
  12. PKG_SITES:= https://github.com/open-source-parsers/jsoncpp.git
  13. PKG_OPTS:= dev
  14. include $(ADK_TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,JSONCPP,jsoncpp,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
  16. CONFIG_STYLE:= cmake
  17. CMAKE_FLAGS:= -DJSONCPP_WITH_TESTS=OFF -DJSONCPP_WITH_POST_BUILD_UNITTEST=OFF
  18. jsoncpp-install:
  19. $(INSTALL_DIR) $(IDIR_JSONCPP)/usr/lib
  20. include $(ADK_TOPDIR)/mk/pkg-bottom.mk