mutt: update to 1.5.16 (#1990)
[openwrt/svn-archive/archive.git] / utils / mutt / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=mutt
12 PKG_VERSION:=1.5.16
13 PKG_RELEASE:=2
14
15 PKG_SOURCE_URL:=@SF/mutt
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
17 PKG_MD5SUM:=10eff7024dbb7ce1f773d688a69ea9db
18 PKG_CAT:=zcat
19
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/mutt
25 SECTION:=utils
26 CATEGORY:=Utilities
27 DEPENDS:=+libopenssl +libncurses
28 TITLE:=Console mail client
29 URL:=http://www.mutt.org/
30 endef
31
32 CONFIGURE_ARGS += \
33 --includedir=$(PKG_BUILD_DIR)/. \
34 --oldincludedir=$(PKG_BUILD_DIR)/. \
35 --enable-pop \
36 --enable-imap \
37 --with-ssl
38
39 define Package/mutt/install
40 $(INSTALL_DIR) $(1)/usr/bin
41 $(CP) $(PKG_BUILD_DIR)/mutt $(1)/usr/bin/
42 endef
43
44 $(eval $(call BuildPackage,mutt))