add elinks, mutt, fetchmail and procmail, thx Michael Cohen, procmail disabled, compi...
[openwrt.git] / openwrt / package / procmail / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=procmail
6 PKG_VERSION:=3.22
7 PKG_RELEASE:=1
8
9 PKG_SOURCE_URL:=http://www.procmail.org/
10 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
11 PKG_MD5SUM:=1678ea99b973eb77eda4ecf6acae53f1
12 PKG_CAT:=zcat
13
14 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
15
16 include $(TOPDIR)/package/rules.mk
17
18 $(eval $(call PKG_template,PROCMAIL,procmail,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
19
20 $(PKG_BUILD_DIR)/.built:
21 $(MAKE) -C $(PKG_BUILD_DIR)/ init \
22 CC=$(TARGET_CC)
23
24 echo yes | $(MAKE) -C $(PKG_BUILD_DIR)/src/ procmail formail \
25 CC=$(TARGET_CC)
26 touch $@
27
28 $(IPKG_PROCMAIL):
29 mkdir -p $(IDIR_PROCMAIL)/usr/bin
30 $(CP) $(PKG_BUILD_DIR)/src/procmail $(IDIR_PROCMAIL)/usr/bin/
31 $(CP) $(PKG_BUILD_DIR)/src/formail $(IDIR_PROCMAIL)/usr/bin/
32 $(RSTRIP) $(IDIR_PROCMAIL)
33 $(IPKG_BUILD) $(IDIR_PROCMAIL) $(PACKAGE_DIR)
This page took 0.045526 seconds and 5 git commands to generate.