Makefile 924 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 $(TOPDIR)/rules.mk
  4. PKG_NAME:= polarssl
  5. PKG_VERSION:= 1.3.6
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 1245884d3e73150cfcc196f91de2b5c4
  8. PKG_DESCR:= embedded SSL/TLS library
  9. PKG_SECTION:= libs
  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 $(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 ${TOPDIR}/mk/pkg-bottom.mk