Makefile 1.0 KB

123456789101112131415161718192021222324252627282930313233
  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:= mbedtls
  5. PKG_VERSION:= 1.3.10
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= bf981c989b4fddbda4c6ab448623c2f6f928a6c3ab1b0c0295084dae0f63e854
  8. PKG_DESCR:= embedded ssl/tls library
  9. PKG_SECTION:= libs/crypto
  10. PKG_URL:= https://polarssl.org/
  11. PKG_SITES:= https://github.com/polarssl/polarssl/archive/
  12. PKG_LIBNAME:= libmbedtls
  13. PKG_OPTS:= dev
  14. DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
  15. WRKDIST= $(WRKDIR)/polarssl-$(PKG_NAME)-$(PKG_VERSION)
  16. include $(ADK_TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,LIBMBEDTLS,libmbedtls,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
  18. CONFIG_STYLE:= manual
  19. ALL_TARGET:= lib
  20. TARGET_CFLAGS+= -DSHARED
  21. libpolarssl-install:
  22. $(INSTALL_DIR) $(IDIR_LIBMBEDTLS)/usr/lib
  23. $(CP) $(WRKINST)/usr/lib/libpolarssl.so* \
  24. $(IDIR_LIBMBEDTLS)/usr/lib
  25. include $(ADK_TOPDIR)/mk/pkg-bottom.mk