Makefile 935 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:= libjansson
  5. PKG_VERSION:= 2.5
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= dd8bbfb38ad5031ce88e066b14d3b7e9c7113243daa7f4cde1994b7fc90bb1b1
  8. PKG_DESCR:= json library
  9. PKG_SECTION:= libs/data
  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 $(ADK_TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,LIBJANSSON,libjansson,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  17. TARGET_LDFLAGS+= -lm
  18. libjansson-install:
  19. $(INSTALL_DIR) $(IDIR_LIBJANSSON)/usr/lib
  20. $(CP) $(WRKINST)/usr/lib/libjansson*.so* \
  21. $(IDIR_LIBJANSSON)/usr/lib
  22. include ${ADK_TOPDIR}/mk/pkg-bottom.mk