Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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:= fetchmail
  5. PKG_VERSION:= 6.3.9
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 72c20ad2b9629f1a109668b05a84d823
  8. PKG_DESCR:= fetch mail from a POP or IMAP server
  9. PKG_SECTION:= mail
  10. PKG_URL:= http://fetchmail.berlios.de/
  11. PKG_SITES:= http://download.berlios.de/fetchmail/
  12. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  13. PKG_FLAVOURS_FETCHMAIL:=WITH_SSL
  14. PKGFD_WITH_SSL:= enable SSL support
  15. PKGFS_WITH_SSL:= libopenssl
  16. PKGFB_WITH_SSL:= openssl
  17. include ${TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,FETCHMAIL,fetchmail,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. CONFIGURE_ARGS+= --without-hesiod
  20. ifeq (${ADK_PACKAGE_FETCHMAIL_WITH_SSL},y)
  21. CONFIGURE_ARGS+= --with-ssl='${STAGING_TARGET_DIR}/usr'
  22. else
  23. CONFIGURE_ARGS+= --without-ssl
  24. endif
  25. fetchmail-install:
  26. ${INSTALL_DIR} ${IDIR_FETCHMAIL}/usr/bin
  27. ${INSTALL_BIN} ${WRKINST}/usr/bin/fetchmail \
  28. ${IDIR_FETCHMAIL}/usr/bin/
  29. include ${TOPDIR}/mk/pkg-bottom.mk