2 # Copyright (C) 2006-2008 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:=72c20ad2b9629f1a109668b05a84d823
18 include $(INCLUDE_DIR)/package.mk
20 define Package/fetchmail
23 TITLE:=Remote mail retriever
24 URL:=http://fetchmail.berlios.de/
27 define Package/fetchmail/description
28 Retrieves remote mail via POP/IMAP.
29 Very useful in conjunction with mutt.
32 define Build/Configure
33 $(call Build/Configure/Default, \
34 --enable-fallback=procmail \
37 ac_cv_path_procmail=/usr/sbin/procmail \
42 $(MAKE) -C $(PKG_BUILD_DIR) \
43 DESTDIR="$(PKG_INSTALL_DIR)" \
47 define Package/fetchmail/install
48 $(INSTALL_DIR) $(1)/usr/bin
49 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/fetchmail $(1)/usr/bin/
52 $(eval $(call BuildPackage,fetchmail))