Ignore usb.ids files in this directory
[openwrt/svn-archive/archive.git] / mail / fetchmail / Makefile
1 #
2 # Copyright (C) 2006-2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=fetchmail
12 PKG_VERSION:=6.3.9-rc2
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=http://download.berlios.de/fetchmail
17 PKG_MD5SUM:=29f338f6a0dbef027b420344fda34580
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 define Build/Configure
34 $(call Build/Configure/Default, \
35 --enable-fallback=procmail \
36 --without-hesiod \
37 , \
38 ac_cv_path_procmail=/usr/sbin/procmail \
39 )
40 endef
41
42 define Build/Compile
43 $(MAKE) -C $(PKG_BUILD_DIR) \
44 DESTDIR="$(PKG_INSTALL_DIR)" \
45 all install
46 endef
47
48 define Package/fetchmail/install
49 $(INSTALL_DIR) $(1)/usr/bin
50 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/fetchmail $(1)/usr/bin/
51 endef
52
53 $(eval $(call BuildPackage,fetchmail))