Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  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. # always use tab spaces as separator, no spaces
  5. PKG_NAME:= libesmtp
  6. PKG_VERSION:= 1.0.6
  7. PKG_RELEASE:= 1
  8. PKG_MD5SUM:= bf3915e627fd8f35524a8fdfeed979c8
  9. PKG_DESCR:= lib that implements the client side of the SMTP protocol
  10. PKG_SECTION:= libs/net
  11. PKG_URL:= http://www.stafford.uklinux.net/libesmtp/
  12. PKG_SITES:= http://www.stafford.uklinux.net/libesmtp/
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  14. PKG_FLAVOURS_PKGNAME:= WITH_SSL
  15. PKGFD_WITH_SSL:= enable SSL support
  16. PKGFS_WITH_SSL:= libopenssl
  17. PKGFB_WITH_SSL:= openssl
  18. include $(TOPDIR)/mk/package.mk
  19. $(eval $(call PKG_template,LIBESMTP,libesmtp,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  20. ifneq (${ADK_PACKAGE_LIBESMTP_WITH_SSL},)
  21. CONFIGURE_ARGS+= --with-openssl
  22. endif
  23. libesmtp-install:
  24. $(INSTALL_DIR) $(IDIR_LIBESMTP)/usr/lib/esmtp-plugins
  25. $(CP) $(WRKINST)/usr/lib/libesmtp.so* $(IDIR_LIBESMTP)/usr/lib/
  26. $(CP) $(WRKINST)/usr/lib/esmtp-plugins/*.so \
  27. $(IDIR_LIBESMTP)/usr/lib/esmtp-plugins/
  28. include ${TOPDIR}/mk/pkg-bottom.mk