fixes #3606
[openwrt/svn-archive/archive.git] / mail / mutt / Makefile
1 #
2 # Copyright (C) 2006-2008 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.18
13 PKG_RELEASE:=1
14
15 PKG_SOURCE_URL:=@SF/mutt
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
17 PKG_MD5SUM:=27c30037120189b9f9c0d3e76361b8f8
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/mutt
22 SECTION:=mail
23 CATEGORY:=Mail
24 DEPENDS:=+libopenssl +libncurses
25 TITLE:=Console mail client
26 URL:=http://www.mutt.org/
27 endef
28
29 CONFIGURE_ARGS += \
30 --includedir=$(PKG_BUILD_DIR)/. \
31 --oldincludedir=$(PKG_BUILD_DIR)/. \
32 --enable-pop \
33 --enable-imap \
34 --with-ssl
35
36 define Package/mutt/install
37 $(INSTALL_DIR) $(1)/usr/bin
38 $(CP) $(PKG_BUILD_DIR)/mutt $(1)/usr/bin/
39 endef
40
41 $(eval $(call BuildPackage,mutt))