Makefile 915 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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= c-ares
  5. PKG_VERSION:= 1.10.0
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 3d701674615d1158e56a59aaede7891f2dde3da0f46a6d3c684e0ae70f52d3db
  8. PKG_DESCR:= c-ares asynchronous dns lib
  9. PKG_SECTION:= libs/net
  10. PKG_URL:= http://c-ares.haxx.se
  11. PKG_SITES:= http://c-ares.haxx.se/download/
  12. PKG_OPTS:= dev
  13. # if downloaded package is not ending with .tar.xz use following
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. include $(ADK_TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,C_ARES,c-ares,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  17. c-ares-install:
  18. $(INSTALL_DIR) $(IDIR_C_ARES)/usr/lib
  19. $(CP) $(WRKINST)/usr/lib/libcares*.so* \
  20. $(IDIR_C_ARES)/usr/lib
  21. include ${ADK_TOPDIR}/mk/pkg-bottom.mk