[packages] mini_sendmail, msmtp, nullmailer, ssmtp: don't ship sendmail symlink,...
[openwrt/svn-archive/archive.git] / mail / fetchmail / Makefile
1 #
2 # Copyright (C) 2006-2009 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=fetchmail
11 PKG_VERSION:=6.3.13
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=http://download.berlios.de/fetchmail
16 PKG_MD5SUM:=db792fb311bc358e95ed0437389269ac
17 PKG_INSTALL=1
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/fetchmail
22 SECTION:=mail
23 CATEGORY:=Mail
24 TITLE:=Remote mail retriever
25 URL:=http://fetchmail.berlios.de/
26 endef
27
28 define Package/fetchmail/description
29 Retrieves remote mail via POP/IMAP.
30 Very useful in conjunction with mutt.
31 endef
32
33 CONFIGURE_ARGS += \
34 --enable-fallback=procmail \
35 --without-hesiod
36
37 CONFIGURE_VARS += \
38 ac_cv_path_procmail=/usr/sbin/procmail
39
40 define Package/fetchmail/install
41 $(INSTALL_DIR) $(1)/usr/bin
42 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/fetchmail $(1)/usr/bin/
43 endef
44
45 $(eval $(call BuildPackage,fetchmail))