1
0

Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. PKG_URL:= http://fetchmail.berlios.de/
  11. PKG_SITES:= http://download.berlios.de/fetchmail/
  12. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  13. include ${TOPDIR}/mk/package.mk
  14. ifeq (${ADK_PACKAGE_FETCHMAIL_SSL},y)
  15. PKG_DEPENDS:= libopenssl
  16. endif
  17. $(eval $(call PKG_template,FETCHMAIL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. CONFIGURE_STYLE= gnu
  19. CONFIGURE_ARGS+= --without-hesiod
  20. BUILD_STYLE= auto
  21. INSTALL_STYLE= auto
  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/${PKG_NAME} ${IDIR_FETCHMAIL}/usr/bin/
  30. include ${TOPDIR}/mk/pkg-bottom.mk