Makefile 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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.2.8
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 985151639b1ca037293f06da44fbc6bc
  8. PKG_DESCR:= embedded SSL/TLS library
  9. PKG_SECTION:= libs
  10. PKG_URL:= https://polarssl.org/
  11. PKG_SITES:= http://www.openadk.org/distfiles/
  12. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-gpl.tgz
  13. PKG_SUBPKGS:= LIBPOLARSSL LIBPOLARSSL_DEV
  14. include $(TOPDIR)/mk/package.mk
  15. PKGSD_LIBPOLARSSL_DEV:= development files for polarssl
  16. PKGSC_LIBPOLARSSL_DEV:= devel
  17. $(eval $(call PKG_template,LIBPOLARSSL,libpolarssl,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. $(eval $(call PKG_template,LIBPOLARSSL_DEV,libpolarssl-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBPOLARSSL_DEV},${PKGSC_LIBPOLARSSL_DEV}))
  19. CONFIG_STYLE:= manual
  20. ALL_TARGET:= no_test
  21. libpolarssl-install:
  22. $(INSTALL_DIR) $(IDIR_LIBPOLARSSL)/usr/lib
  23. $(CP) $(WRKINST)/usr/lib/libpolarssl.so* \
  24. $(IDIR_LIBPOLARSSL)/usr/lib
  25. libpolarssl-dev-install:
  26. $(INSTALL_DIR) $(IDIR_LIBPOLARSSL_DEV)/usr/include
  27. $(CP) $(WRKINST)/usr/include/* \
  28. $(IDIR_LIBPOLARSSL_DEV)/usr/include
  29. include ${TOPDIR}/mk/pkg-bottom.mk