2 # Copyright (C) 2006-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=http://download.berlios.de/fetchmail
16 PKG_MD5SUM:=86d3cfbce151881d8bf76a1efd5bda6a
20 include $(INCLUDE_DIR)/package.mk
22 define Package/fetchmail
25 TITLE:=Remote mail retriever
26 URL:=http://fetchmail.berlios.de/
29 define Package/fetchmail/description
30 Retrieves remote mail via POP/IMAP.
31 Very useful in conjunction with mutt.
35 --enable-fallback=procmail \
39 ac_cv_path_procmail=/usr/sbin/procmail
41 define Package/fetchmail/install
42 $(INSTALL_DIR) $(1)/usr/bin
43 $(CP) $(PKG_INSTALL_DIR)/usr/bin/fetchmail $(1)/usr/bin/
46 $(eval $(call BuildPackage,fetchmail))