Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  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:= fetchmail
  5. PKG_VERSION:= 6.3.26
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 79b4c54cdbaf02c1a9a691d9948fcb1a77a1591a813e904283a8b614b757e850
  8. PKG_DESCR:= fetch mail from a pop3 or imap server
  9. PKG_SECTION:= net/mail
  10. PKG_URL:= http://www.fetchmail.info
  11. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=fetchmail/}
  12. PKG_FLAVOURS_FETCHMAIL:=WITH_SSL
  13. PKGFD_WITH_SSL:= enable SSL support
  14. PKGFS_WITH_SSL:= libopenssl
  15. PKGFB_WITH_SSL:= openssl
  16. include ${ADK_TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,FETCHMAIL,fetchmail,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. CONFIGURE_ARGS+= --without-hesiod
  19. ifeq (${ADK_PACKAGE_FETCHMAIL_WITH_SSL},y)
  20. CONFIGURE_ARGS+= --with-ssl='${STAGING_TARGET_DIR}/usr'
  21. else
  22. CONFIGURE_ARGS+= --without-ssl
  23. endif
  24. fetchmail-install:
  25. ${INSTALL_DIR} ${IDIR_FETCHMAIL}/usr/bin
  26. ${INSTALL_BIN} ${WRKINST}/usr/bin/fetchmail \
  27. ${IDIR_FETCHMAIL}/usr/bin/
  28. include ${ADK_TOPDIR}/mk/pkg-bottom.mk