Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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:= text
  10. ifeq (${ADK_PACKAGE_FETCHMAIL_SSL},y)
  11. PKG_BUILDDEP+= openssl
  12. endif
  13. PKG_URL:= http://fetchmail.berlios.de/
  14. PKG_SITES:= http://download.berlios.de/fetchmail/
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  16. PKG_FLAVOURS:= SSL
  17. PKGFD_SSL:= enable SSL support
  18. PKGFS_SSL:= libopenssl
  19. include ${TOPDIR}/mk/package.mk
  20. $(eval $(call PKG_template,FETCHMAIL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  21. CONFIGURE_ARGS+= --without-hesiod
  22. ifeq (${ADK_PACKAGE_FETCHMAIL_SSL},y)
  23. CONFIGURE_ARGS+= --with-ssl='${STAGING_DIR}/usr'
  24. else
  25. CONFIGURE_ARGS+= --without-ssl
  26. endif
  27. post-install:
  28. ${INSTALL_DIR} ${IDIR_FETCHMAIL}/usr/bin
  29. ${INSTALL_BIN} ${WRKINST}/usr/bin/fetchmail \
  30. ${IDIR_FETCHMAIL}/usr/bin/
  31. include ${TOPDIR}/mk/pkg-bottom.mk