Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= fetchmail
  7. PKG_VERSION:= 6.3.9
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= 72c20ad2b9629f1a109668b05a84d823
  10. MASTER_SITES:= http://download.berlios.de/fetchmail/
  11. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  12. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,FETCHMAIL,fetchmail,${PKG_VERSION}-${PKG_RELEASE}))
  14. CONFIGURE_STYLE= gnu
  15. CONFIGURE_ENV+= ac_cv_c_bigendian=no \
  16. ac_cv_sizeof_off_t=8 \
  17. ac_cv_sizeof_int=4 \
  18. ac_cv_sizeof_long=4
  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. PKG_DEPENDS:= openssl
  25. else
  26. CONFIGURE_ARGS+= --without-ssl
  27. PKG_DEPENDS:=
  28. endif
  29. post-install:
  30. echo 'Depends: ${PKG_DEPENDS}' >>${IDIR_FETCHMAIL}/CONTROL/control
  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