2006-08-07 09:03:48 +00:00
|
|
|
#
|
2008-05-03 02:42:43 +00:00
|
|
|
# Copyright (C) 2006-2008 OpenWrt.org
|
2006-08-07 09:03:48 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=procmail
|
|
|
|
PKG_VERSION:=3.22
|
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE_URL:=http://www.procmail.org/
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_MD5SUM:=1678ea99b973eb77eda4ecf6acae53f1
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/procmail
|
2008-05-03 02:42:43 +00:00
|
|
|
SECTION:=mail
|
|
|
|
CATEGORY:=Mail
|
2006-10-30 13:51:50 +00:00
|
|
|
TITLE:=Mail processing tool
|
2006-08-07 09:03:48 +00:00
|
|
|
URL:=http://www.procmail.org
|
|
|
|
endef
|
|
|
|
|
2007-10-14 04:32:56 +00:00
|
|
|
define Package/procmail/description
|
2008-05-03 02:42:43 +00:00
|
|
|
Procmail is able to process and classify incoming mail into
|
|
|
|
different mail boxes.
|
|
|
|
Very useful in conjunction with mutt.
|
2007-10-14 04:32:56 +00:00
|
|
|
endef
|
|
|
|
|
2006-08-07 09:03:48 +00:00
|
|
|
define Build/Compile
|
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR)/src -f ../Makefile.openwrt \
|
2006-08-18 21:21:06 +00:00
|
|
|
$(TARGET_CONFIGURE_OPTS)
|
2006-08-07 09:03:48 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/procmail/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2006-08-07 09:03:48 +00:00
|
|
|
$(CP) $(PKG_BUILD_DIR)/src/procmail $(1)/usr/bin/
|
|
|
|
$(CP) $(PKG_BUILD_DIR)/src/formail $(1)/usr/bin/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,procmail))
|