1
0

Makefile 973 B

1234567891011121314151617181920212223242526272829303132
  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:= polarssl
  5. PKG_VERSION:= 1.3.9
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= d3605afc28ed4b7d1d9e3142d72e42855e4a23c07c951bbb0299556b02d36755
  8. PKG_DESCR:= embedded ssl/tls library
  9. PKG_SECTION:= libs/crypto
  10. PKG_URL:= https://polarssl.org/
  11. PKG_SITES:= https://polarssl.org/download/
  12. PKG_LIBNAME:= libpolarssl
  13. PKG_OPTS:= dev
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-gpl.tgz
  15. include $(ADK_TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,LIBPOLARSSL,libpolarssl,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  17. CONFIG_STYLE:= manual
  18. ALL_TARGET:= lib
  19. TARGET_CFLAGS+= -DSHARED
  20. libpolarssl-install:
  21. $(INSTALL_DIR) $(IDIR_LIBPOLARSSL)/usr/lib
  22. $(CP) $(WRKINST)/usr/lib/libpolarssl.so* \
  23. $(IDIR_LIBPOLARSSL)/usr/lib
  24. include ${ADK_TOPDIR}/mk/pkg-bottom.mk