Makefile 965 B

12345678910111213141516171819202122232425262728293031323334
  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:= libjson
  5. PKG_VERSION:= 7.6.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 82f3fcbf9f8cf3c4e25e1bdd77d65164
  8. PKG_DESCR:= json library
  9. PKG_SECTION:= libs/data
  10. PKG_URL:= http://sourceforge.net/projects/libjson/
  11. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=libjson/}
  12. PKG_OPTS:= dev
  13. PKG_NOPARALLEL:= 1
  14. DISTFILES:= ${PKG_NAME}_${PKG_VERSION}.zip
  15. WRKDIST= ${WRKDIR}/${PKG_NAME}
  16. include $(ADK_TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,LIBJSON,libjson,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  18. MAKE_FILE:= makefile
  19. FAKE_FLAGS+= prefix=${WRKINST}/usr
  20. CONFIG_STYLE:= manual
  21. libjson-install:
  22. $(INSTALL_DIR) $(IDIR_LIBJSON)/usr/lib
  23. $(CP) $(WRKINST)/usr/lib/libjson*.so* \
  24. $(IDIR_LIBJSON)/usr/lib
  25. include ${ADK_TOPDIR}/mk/pkg-bottom.mk