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
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=http
://www.catb.org
/~esr
/fetchmail
/
17 PKG_MD5SUM
:=9956b30139edaa4f5f77c4d0dbd80225
19 include $(INCLUDE_DIR
)/package.mk
21 define Package
/fetchmail
24 TITLE
:=Remote mail retriever
25 URL
:=http
://www.catb.org
/~esr
/fetchmail
/
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
))