summaryrefslogtreecommitdiffstats
path: root/package/mutt/mutt.mk
blob: 886768cf37e8b2f9f28efafe947c40cb420f318f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#############################################################
#
# mutt
#
#############################################################
MUTT_VERSION:=1.5.17+20080114
MUTT_SOURCE:=mutt_$(MUTT_VERSION).orig.tar.gz
MUTT_PATCH:=mutt_$(MUTT_VERSION)-1.diff.gz
MUTT_SITE:=$(BR2_DEBIAN_MIRROR)/debian/pool/main/m/mutt/
MUTT_DEPENDENCIES=ncurses
MUTT_CONF_OPT = \
		--disable-smtp \
		--disable-iconv \
		--without-wc-funcs
MUTT_AUTORECONF=YES

define MUTT_APPLY_DEBIAN_PATCHES
        if [ -d $(@D)/debian/patches ]; then \
                support/scripts/apply-patches.sh $(@D) $(@D)/debian/patches \*.patch; \
        fi
endef

MUTT_POST_PATCH_HOOKS += MUTT_APPLY_DEBIAN_PATCHES

$(eval $(call AUTOTARGETS,package,mutt))