Makefile 876 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:= json-c
  5. PKG_VERSION:= 0.11
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 28dfc65145dc0d4df1dfe7701ac173c4e5f9347176c8983edbfac9149494448c
  8. PKG_DESCR:= json library
  9. PKG_SECTION:= libs/data
  10. PKG_URL:= https://github.com/json-c/json-c/wiki
  11. PKG_SITES:= https://s3.amazonaws.com/json-c_releases/releases/
  12. PKG_OPTS:= dev
  13. PKG_NOPARALLEL:= 1
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. include $(ADK_TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,JSON_C,json-c,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  17. json-c-install:
  18. $(INSTALL_DIR) $(IDIR_JSON_C)/usr/lib
  19. $(CP) $(WRKINST)/usr/lib/libjson*.so* \
  20. $(IDIR_JSON_C)/usr/lib
  21. include ${ADK_TOPDIR}/mk/pkg-bottom.mk