Makefile 866 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 $(TOPDIR)/rules.mk
  4. PKG_NAME:= libjansson
  5. PKG_VERSION:= 2.5
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 46ac93bec48aacf207b67b51c8fbf7f1
  8. PKG_DESCR:= JSON library
  9. PKG_SECTION:= libs
  10. PKG_URL:= http://www.digip.org/jansson/
  11. PKG_SITES:= http://www.digip.org/jansson/releases/
  12. PKG_OPTS:= dev
  13. DISTFILES:= jansson-${PKG_VERSION}.tar.gz
  14. WRKDIST= ${WRKDIR}/jansson-${PKG_VERSION}
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,LIBJANSSON,libjansson,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  17. libjansson-install:
  18. $(INSTALL_DIR) $(IDIR_LIBJANSSON)/usr/lib
  19. $(CP) $(WRKINST)/usr/lib/libjansson*.so* \
  20. $(IDIR_LIBJANSSON)/usr/lib
  21. include ${TOPDIR}/mk/pkg-bottom.mk