Makefile 781 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 $(TOPDIR)/rules.mk
  4. PKG_NAME:= json-c
  5. PKG_VERSION:= 0.11
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= aa02367d2f7a830bf1e3376f77881e98
  8. PKG_DESCR:= JSON library
  9. PKG_SECTION:= libs
  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. include $(TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,JSON_C,json-c,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  16. json-c-install:
  17. $(INSTALL_DIR) $(IDIR_JSON_C)/usr/lib
  18. $(CP) $(WRKINST)/usr/lib/libjson*.so* \
  19. $(IDIR_JSON_C)/usr/lib
  20. include ${TOPDIR}/mk/pkg-bottom.mk