Makefile 853 B

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