Makefile 826 B

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