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.
9 include $(TOPDIR)/rules.mk
12 PKG_VERSION:=6.3.9-rc2
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=http://download.berlios.de/fetchmail
17 PKG_MD5SUM:=29f338f6a0dbef027b420344fda34580
19 include $(INCLUDE_DIR)/package.mk
21 define Package/fetchmail
24 TITLE:=Remote mail retriever
25 URL:=http://fetchmail.berlios.de/
28 define Package/fetchmail/description
29 Retrieves remote mail via POP/IMAP.
30 Very useful in conjunction with mutt.
33 define Build/Configure
34 $(call Build/Configure/Default, \
35 --enable-fallback=procmail \
38 ac_cv_path_procmail=/usr/sbin/procmail \
43 $(MAKE) -C $(PKG_BUILD_DIR) \
44 DESTDIR="$(PKG_INSTALL_DIR)" \
48 define Package/fetchmail/install
49 $(INSTALL_DIR) $(1)/usr/bin
50 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/fetchmail $(1)/usr/bin/
53 $(eval $(call BuildPackage,fetchmail))