[packages] mutt: update to 1.5.21
[openwrt/svn-archive/archive.git] / mail / mutt / Makefile
1 #
2 # Copyright (C) 2006-2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=mutt
11 PKG_VERSION:=1.5.21
12 PKG_RELEASE:=1
13
14 PKG_SOURCE_URL:=@SF/mutt
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_MD5SUM:=a29db8f1d51e2f10c070bf88e8a553fd
17
18 PKG_INSTALL:=1
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/mutt
23 SECTION:=mail
24 CATEGORY:=Mail
25 DEPENDS:=+libopenssl +libncurses
26 TITLE:=Console mail client
27 URL:=http://www.mutt.org/
28 endef
29
30 define Package/mutt/description
31 Mutt is a small but very powerful text-based mail client for Unix
32 operating systems.
33 endef
34
35 CONFIGURE_ARGS += \
36 --includedir=$(PKG_BUILD_DIR)/. \
37 --oldincludedir=$(PKG_BUILD_DIR)/. \
38 --enable-pop \
39 --enable-imap \
40 --with-ssl \
41 --without-idn
42
43 define Package/mutt/install
44 $(INSTALL_DIR) $(1)/usr/bin
45 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mutt $(1)/usr/bin/
46 endef
47
48 $(eval $(call BuildPackage,mutt))