1
0

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. ifeq (${ADK_PACKAGE_FETCHMAIL_SSL},y)
  8. PKG_BUILDDEP+= openssl
  9. endif
  10. PKG_MD5SUM:= 72c20ad2b9629f1a109668b05a84d823
  11. PKG_DESCR:= fetch mail from a POP, IMAP, ETRN, or ODMR-capable server
  12. PKG_SECTION:= text
  13. PKG_URL:= http://fetchmail.berlios.de/
  14. PKG_SITES:= http://download.berlios.de/fetchmail/
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  16. include ${TOPDIR}/mk/package.mk
  17. ifeq (${ADK_PACKAGE_FETCHMAIL_SSL},y)
  18. PKG_DEPENDS:= libopenssl
  19. endif
  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