qt4: Don't build examples/demos, if they are not selected.
[openwrt/svn-archive/archive.git] / mail / fetchmail / Makefile
1 #
2 # Copyright (C) 2006-2010 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.14
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:=86d3cfbce151881d8bf76a1efd5bda6a
17
18 PKG_INSTALL=1
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/fetchmail
23 SECTION:=mail
24 CATEGORY:=Mail
25 TITLE:=Remote mail retriever
26 URL:=http://fetchmail.berlios.de/
27 endef
28
29 define Package/fetchmail/description
30 Retrieves remote mail via POP/IMAP.
31 Very useful in conjunction with mutt.
32 endef
33
34 CONFIGURE_ARGS += \
35 --enable-fallback=procmail \
36 --without-hesiod
37
38 CONFIGURE_VARS += \
39 ac_cv_path_procmail=/usr/sbin/procmail
40
41 define Package/fetchmail/install
42 $(INSTALL_DIR) $(1)/usr/bin
43 $(CP) $(PKG_INSTALL_DIR)/usr/bin/fetchmail $(1)/usr/bin/
44 endef
45
46 $(eval $(call BuildPackage,fetchmail))