buildrootschalter/package/mutt/mutt.mk
Thomas Petazzoni 59a326b934 support: move patch-kernel.sh and rename it
The name "patch-kernel.sh" is a bit stupid, since this script is used
to patch everything in Buildroot, not only kernel trees.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-17 08:15:32 +02:00

25 lines
714 B
Makefile

#############################################################
#
# 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))