Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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, IMAP, ETRN, or ODMR-capable server
  9. PKG_SECTION:= text
  10. ifeq (${ADK_PACKAGE_FETCHMAIL_SSL},y)
  11. PKG_DEPENDS:= libopenssl
  12. PKG_BUILDDEP+= openssl
  13. endif
  14. PKG_URL:= http://fetchmail.berlios.de/
  15. PKG_SITES:= http://download.berlios.de/fetchmail/
  16. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  17. PKG_FLAVOURS:= SSL
  18. PKGFD_SSL:= enable SSL support
  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_STYLE:= gnu
  22. CONFIGURE_ARGS+= --without-hesiod
  23. BUILD_STYLE:= auto
  24. INSTALL_STYLE:= auto
  25. ifeq (${ADK_PACKAGE_FETCHMAIL_SSL},y)
  26. CONFIGURE_ARGS+= --with-ssl='${STAGING_DIR}/usr'
  27. else
  28. CONFIGURE_ARGS+= --without-ssl
  29. endif
  30. post-install:
  31. ${INSTALL_DIR} ${IDIR_FETCHMAIL}/usr/bin
  32. ${INSTALL_BIN} ${WRKINST}/usr/bin/${PKG_NAME} ${IDIR_FETCHMAIL}/usr/bin/
  33. include ${TOPDIR}/mk/pkg-bottom.mk