Makefile 902 B

123456789101112131415161718192021222324252627282930
  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:= yajl
  5. PKG_VERSION:= 2.1.0
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 3fb73364a5a30efe615046d07e6db9d09fd2b41c763c5f7d3bfb121cd5c5ac5a
  8. PKG_DESCR:= small event-driven json parser
  9. PKG_SECTION:= libs/data
  10. PKG_BUILDDEP:= cmake-host ruby-host
  11. PKG_URL:= http://lloyd.github.com/yajl/
  12. PKG_SITES:= https://github.com/lloyd/yajl/archive/refs/tags/
  13. PKG_OPTS:= dev
  14. DISTFILES:= ${PKG_VERSION}.tar.gz
  15. include $(ADK_TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,YAJL,yajl,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  17. CONFIG_STYLE:= cmake
  18. yajl-install:
  19. $(INSTALL_DIR) $(IDIR_YAJL)/usr/lib
  20. $(CP) $(WRKINST)/usr/lib/libyajl*.so* \
  21. $(IDIR_YAJL)/usr/lib
  22. include ${ADK_TOPDIR}/mk/pkg-bottom.mk