2 # Copyright (C) 2006-2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE_URL
:=http
://www.procmail.org
/
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
17 PKG_MD5SUM
:=1678ea99b973eb77eda4ecf6acae53f1
19 include $(INCLUDE_DIR
)/package.mk
21 define Package
/procmail
24 TITLE
:=Mail processing tool
25 URL
:=http
://www.procmail.org
28 define Package
/procmail
/description
29 Procmail is able to process and classify incoming mail into
31 Very useful in conjunction with mutt.
35 $(MAKE
) -C
$(PKG_BUILD_DIR
)/src
-f ..
/Makefile.openwrt \
36 $(TARGET_CONFIGURE_OPTS
)
39 define Package
/procmail
/install
40 $(INSTALL_DIR
) $(1)/usr
/bin
41 $(CP
) $(PKG_BUILD_DIR
)/src
/procmail
$(1)/usr
/bin
/
42 $(CP
) $(PKG_BUILD_DIR
)/src
/formail
$(1)/usr
/bin
/
45 $(eval
$(call BuildPackage
,procmail
))