2006-08-01 20:19:55 +00:00
|
|
|
#
|
2008-05-03 02:42:43 +00:00
|
|
|
# Copyright (C) 2006-2008 OpenWrt.org
|
2006-08-01 20:19:55 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=fetchmail
|
2008-07-05 12:47:06 +00:00
|
|
|
PKG_VERSION:=6.3.9-rc2
|
2006-08-01 20:19:55 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
2008-07-05 12:47:06 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
|
|
|
PKG_SOURCE_URL:=http://download.berlios.de/fetchmail
|
|
|
|
PKG_MD5SUM:=29f338f6a0dbef027b420344fda34580
|
2006-08-01 20:19:55 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/fetchmail
|
2008-05-03 02:42:43 +00:00
|
|
|
SECTION:=mail
|
|
|
|
CATEGORY:=Mail
|
2006-08-01 20:19:55 +00:00
|
|
|
TITLE:=Remote mail retriever
|
2008-07-05 12:47:06 +00:00
|
|
|
URL:=http://fetchmail.berlios.de/
|
2006-08-01 20:19:55 +00:00
|
|
|
endef
|
|
|
|
|
2007-10-14 04:32:56 +00:00
|
|
|
define Package/fetchmail/description
|
2008-05-03 02:42:43 +00:00
|
|
|
Retrieves remote mail via POP/IMAP.
|
|
|
|
Very useful in conjunction with mutt.
|
2007-10-14 04:32:56 +00:00
|
|
|
endef
|
|
|
|
|
2006-08-01 20:19:55 +00:00
|
|
|
define Build/Configure
|
2006-10-19 15:26:14 +00:00
|
|
|
$(call Build/Configure/Default, \
|
|
|
|
--enable-fallback=procmail \
|
2006-10-30 13:51:50 +00:00
|
|
|
--without-hesiod \
|
|
|
|
, \
|
2006-10-19 15:26:14 +00:00
|
|
|
ac_cv_path_procmail=/usr/sbin/procmail \
|
|
|
|
)
|
2006-08-01 20:19:55 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
|
|
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
|
|
|
all install
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/fetchmail/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2007-12-09 18:59:01 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/fetchmail $(1)/usr/bin/
|
2006-08-01 20:19:55 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,fetchmail))
|